diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2016-01-08 22:10:59 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2016-01-08 22:10:59 (GMT) |
commit | 01ad401c1902f09c24bdbc88d7024d82a4f3fb45 (patch) | |
tree | c6cb6b751f75c8a59e80f6d2d81e8a980cd0f293 /library/scrlbar.tcl | |
parent | 488c44d54c4bda328dc604cae030ca46b5ba9dc3 (diff) | |
download | tk-01ad401c1902f09c24bdbc88d7024d82a4f3fb45.zip tk-01ad401c1902f09c24bdbc88d7024d82a4f3fb45.tar.gz tk-01ad401c1902f09c24bdbc88d7024d82a4f3fb45.tar.bz2 |
Make test-case and binding equal for win32 and x11. Test-case doesn't pass yet
Diffstat (limited to 'library/scrlbar.tcl')
-rw-r--r-- | library/scrlbar.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/scrlbar.tcl b/library/scrlbar.tcl index b1658ac..b7be014 100644 --- a/library/scrlbar.tcl +++ b/library/scrlbar.tcl @@ -153,10 +153,10 @@ switch [tk windowingsystem] { } "x11" { bind Scrollbar <MouseWheel> { - tk::ScrollByUnits %W v [expr {- (%D /120 )}] + tk::ScrollByUnits %W v [expr {- (%D /120 ) * 4}] } bind Scrollbar <Shift-MouseWheel> { - tk::ScrollByUnits %W h [expr {- (%D /120 )}] + tk::ScrollByUnits %W h [expr {- (%D /120 ) * 4}] } bind Scrollbar <4> {tk::ScrollByUnits %W v -5} bind Scrollbar <5> {tk::ScrollByUnits %W v 5} |