From d3736f17347212a7ac58edd25f746c6646e0db5f Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Wed, 4 May 2011 16:56:41 +0200 Subject: [PATCH] Offset label lines to not hide history lines. Signed-off-by: Johannes Sixt --- gitk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitk b/gitk index b3706fc9b9..dd9370c7b1 100755 --- a/gitk +++ b/gitk @@ -6381,7 +6381,8 @@ proc drawtags {id x xt y1} { lappend wvals $wid set xt [expr {$xt + $delta + $wid + $lthickness + $linespc}] } - set t [$canv create line $x $y1 [lindex $xvals end] $y1 \ + set yl [expr {$y1 - $lthickness}] + set t [$canv create line $x $yl [lindex $xvals end] $yl \ -width $lthickness -fill black -tags tag.$id] $canv lower $t foreach tag $marks x $xvals wid $wvals { -- 2.11.4.GIT