Skip to content

Commit 4d22c05

Browse files
last-partizanprati0100
authored andcommitted
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 <[email protected]> Signed-off-by: Pratyush Yadav <[email protected]>
1 parent 796f652 commit 4d22c05

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/themed.tcl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ namespace eval color {
3434
}
3535
add_option *Text.Background $text_bg
3636
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
3941
}
4042
}
4143

0 commit comments

Comments
 (0)