Skip to content

Commit

Permalink
gitk: moving all three panes if clicking on an arrow.
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan-W. Hahn <stefan.hahn@s-hahn.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Stefan-W. Hahn authored and Junio C Hamano committed Nov 19, 2005
1 parent fd913b3 commit e3fe532
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gitk
Original file line number Diff line number Diff line change
Expand Up @@ -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"} {
Expand Down Expand Up @@ -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} {
Expand Down

0 comments on commit e3fe532

Please sign in to comment.