Skip to content

Commit

Permalink
Fix light theme contrast check
Browse files Browse the repository at this point in the history
  • Loading branch information
passivestar committed Dec 26, 2024
1 parent d20f066 commit 66e4348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minimal_theme.tres
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66e4348

Please sign in to comment.