mirror of
https://github.com/passivestar/godot-minimal-theme.git
synced 2025-01-21 23:59:06 -05:00
Fix light theme contrast check
This commit is contained in:
parent
d20f066929
commit
66e4348449
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user