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:
parent
fd913b3910
commit
e3fe532ddc
1 changed files with 3 additions and 1 deletions
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 a new issue