summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLibravatar Serg Tereshchenko <serg.partizan@gmail.com>2020-11-22 15:32:33 +0200
committerLibravatar Pratyush Yadav <me@yadavpratyush.com>2020-12-18 01:49:18 +0530
commit4d22c0505f85b83f73c580049c74c5a7c7e0a5d4 (patch)
tree6547dbded9bb8729961a26b8847ac948e1a05d4f /lib
parentMerge branch 'rj/clean-speedup' (diff)
downloadtgif-4d22c0505f85b83f73c580049c74c5a7c7e0a5d4.tar.xz
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/themed.tcl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/themed.tcl b/lib/themed.tcl
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
}
}