git-gui: Fix selected text colors
Added selected state colors for text widget. Same colors for active and inactive selection, to match previous behaviour. Signed-off-by: Serg Tereshchenko <serg.partizan@gmail.com> Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
Serg Tereshchenko committed
Nov 22, 2020 at 15:32 UTC
4d22c0505f85b83f73c580049c74c5a7c7e0a5d4
1 file changed
+4
-2
lib/themed.tcl
+4
-2
@@ -34,8 +34,10 @@ namespace eval color {
34
}
35
add_option *Text.Background $text_bg
36
add_option *Text.Foreground $text_fg
37
- add_option *Text.HighlightBackground $base_bg
38
- add_option *Text.HighlightColor $select_bg
37
+ add_option *Text.selectBackground $select_bg
38
+ add_option *Text.selectForeground $select_fg
39
+ add_option *Text.inactiveSelectBackground $select_bg
40
+ add_option *Text.inactiveSelectForeground $select_fg
41
}
42
}
43