Fix light theme contrast check

This commit is contained in:
passivestar 2024-12-27 03:51:44 +04:00
parent d20f066929
commit 66e4348449

View File

@ -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