From 5fdc8e12e77fe4e5de1241c6292c9d445b1fb141 Mon Sep 17 00:00:00 2001 From: dekuNukem Date: Fri, 30 Jan 2026 11:48:59 +0000 Subject: [PATCH] working on coloring in dark mode --- src/duckypad_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/duckypad_config.py b/src/duckypad_config.py index db07415..4b61e55 100644 --- a/src/duckypad_config.py +++ b/src/duckypad_config.py @@ -1099,7 +1099,7 @@ def key_button_click(button_widget): # script_textbox.tag_remove("error", '1.0', 'end') script_text = get_correct_script_text(thissss_key) script_textbox.insert(1.0, script_text) - if len(thissss_key.script_on_release) > 0: + if len(thissss_key.script_on_release) > 4: on_release_rb.configure(fg=color_green_both_light_and_dark_mode) else: on_release_rb.configure(fg=text_color_both_light_and_dark_mode) @@ -1804,7 +1804,7 @@ def script_textbox_modified(): thissss_key = profile_list[profile_index].keylist[selected_key] if thissss_key is None: return - if len(thissss_key.script_on_release) > 0: + if len(thissss_key.script_on_release) > 4: on_release_rb.configure(fg=color_green_both_light_and_dark_mode) else: on_release_rb.configure(fg=text_color_both_light_and_dark_mode)