summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b093448)
raw | patch | inline | side by side (parent: b093448)
author | Paul Mackerras <paulus@samba.org> | |
Fri, 19 May 2006 23:58:49 +0000 (09:58 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Fri, 19 May 2006 23:58:49 +0000 (09:58 +1000) |
If the user pressed page up or page down and the new page wasn't
already drawn, we failed to select the line we wanted in the new
page. This fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
already drawn, we failed to select the line we wanted in the new
page. This fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index d59debf2f5bb8907cd77fb63f70aa59d6e856602..286f5cd5fd11a40a3f1013b4320acd73120dc561 100755 (executable)
--- a/gitk
+++ b/gitk
set lpp 1
}
allcanvs yview scroll [expr {$dir * $lpp}] units
+ drawvisible
if {![info exists selectedline]} return
set l [expr {$selectedline + $dir * $lpp}]
if {$l < 0} {