working on coloring in dark mode

This commit is contained in:
dekuNukem
2026-01-30 11:48:59 +00:00
parent fa7080512c
commit 5fdc8e12e7
+2 -2
View File
@@ -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)