Browse Source

gitk: moving all three panes if clicking on an arrow.

Signed-off-by: Stefan-W. Hahn <stefan.hahn@s-hahn.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Stefan-W. Hahn 19 years ago committed by Junio C Hamano
parent
commit
e3fe532ddc
  1. 4
      gitk

4
gitk

@ -3158,7 +3158,7 @@ proc clickisonarrow {id y} { @@ -3158,7 +3158,7 @@ proc clickisonarrow {id y} {
}

proc arrowjump {id dirn y} {
global mainline sidelines canv
global mainline sidelines canv canv2 canv3

set yt {}
if {$dirn eq "down"} {
@ -3196,6 +3196,8 @@ proc arrowjump {id dirn y} { @@ -3196,6 +3196,8 @@ proc arrowjump {id dirn y} {
set yfrac 0
}
$canv yview moveto $yfrac
$canv2 yview moveto $yfrac
$canv3 yview moveto $yfrac
}

proc lineclick {x y id isnew} {

Loading…
Cancel
Save