From 66e4348449e2c0fa0f28fca15fbb8501c03f2cab Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Fri, 27 Dec 2024 03:51:44 +0400 Subject: [PATCH] Fix light theme contrast check --- minimal_theme.tres | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal_theme.tres b/minimal_theme.tres index fe3bad2..6e6e331 100644 --- a/minimal_theme.tres +++ b/minimal_theme.tres @@ -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