mirror of
https://github.com/git/git.git
synced 2024-11-18 06:24:14 +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:
parent
fd913b3910
commit
e3fe532ddc
4
gitk
4
gitk
@ -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} {
|
||||
|
Loading…
Reference in New Issue
Block a user