mirror of
https://github.com/duckyPad/duckyPad-Configurator.git
synced 2026-11-19 12:19:07 +01:00
working on coloring in dark mode
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user