Fix light theme contrast check

pull/24/head 2.0.1
passivestar 2024-12-27 03:51:44 +07:00
parent d20f066929
commit 66e4348449
1 changed files with 1 additions and 1 deletions

@ -43,7 +43,7 @@ func _init() -> void:
# Ensure minimum contrast with the light theme. The default
# contrast makes it hard to see the UI elements
if not dark_theme and contrast < 0:
if not dark_theme and contrast < 0 and contrast > -0.4:
contrast = -0.4
# Main stylebox that most styleboxes duplicate