Skip to content

Commit bfb0fa7

Browse files
committed
Merge branch 'top-panel-search-highlight' of github.com:bnfour/gitk
* 'top-panel-search-highlight' of github.com:bnfour/gitk: gitk: do not hard-code color of search results in commit list Signed-off-by: Johannes Sixt <[email protected]>
2 parents 9d60ba0 + 9cad4a9 commit bfb0fa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7108,7 +7108,7 @@ proc findselectline {l} {
71087108
71097109
# mark the bits of a headline or author that match a find string
71107110
proc markmatches {canv l str tag matches font row} {
7111-
global selectedline
7111+
global selectedline foundbgcolor
71127112
71137113
set bbox [$canv bbox $tag]
71147114
set x0 [lindex $bbox 0]
@@ -7122,7 +7122,7 @@ proc markmatches {canv l str tag matches font row} {
71227122
set xlen [font measure $font [string range $str 0 [expr {$end}]]]
71237123
set t [$canv create rect [expr {$x0+$xoff}] $y0 \
71247124
[expr {$x0+$xlen+2}] $y1 \
7125-
-outline {} -tags [list match$l matches] -fill yellow]
7125+
-outline {} -tags [list match$l matches] -fill $foundbgcolor]
71267126
$canv lower $t
71277127
if {$row == $selectedline} {
71287128
$canv raise $t secsel

0 commit comments

Comments
 (0)