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
index 02aae90144..244c061391 100644
--- a/lib/themed.tcl
+++ b/lib/themed.tcl
@@ -34,8 +34,10 @@ namespace eval color {
}
add_option *Text.Background $text_bg
add_option *Text.Foreground $text_fg
- add_option *Text.HighlightBackground $base_bg
- add_option *Text.HighlightColor $select_bg
+ add_option *Text.selectBackground $select_bg
+ add_option *Text.selectForeground $select_fg
+ add_option *Text.inactiveSelectBackground $select_bg
+ add_option *Text.inactiveSelectForeground $select_fg
}
}