1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-29 21:37:53 +01:00

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>
This commit is contained in:
Stefan-W. Hahn 2005-11-05 20:55:29 +01:00 committed by Junio C Hamano
parent fd913b3910
commit e3fe532ddc

4
gitk
View file

@ -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} {
set yfrac 0
}
$canv yview moveto $yfrac
$canv2 yview moveto $yfrac
$canv3 yview moveto $yfrac
}
proc lineclick {x y id isnew} {