From 1b3c7d35034474356d5a77d262c4bb63b7069de1 Mon Sep 17 00:00:00 2001 From: Seb Shader Date: Fri, 28 Jan 2022 22:37:53 -0800 Subject: [PATCH] improve clicking into list from out of focus --- color-themes-plugin.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/color-themes-plugin.tcl b/color-themes-plugin.tcl index 1f7e3e7..bcb0ca8 100644 --- a/color-themes-plugin.tcl +++ b/color-themes-plugin.tcl @@ -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 \