improve clicking into list from out of focus

This commit is contained in:
Seb Shader 2022-01-28 22:37:53 -08:00
parent e1f5817731
commit 1b3c7d3503

View file

@ -188,7 +188,9 @@ proc ::color-themes::motion {box} {
}
proc ::color-themes::click {box} {
if {${::color-themes::hover_theme} eq ""} {return}
if {${::color-themes::hover_theme} eq ""} {
set {::color-themes::hover_theme} $box
}
if {${::color-themes::selected_theme} ne "" && \
${::color-themes::selected_theme} ne ${::color-themes::hover_theme}} {
.colortheme_dialog.theme_list.c.f${::color-themes::selected_theme}.c \