diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-01-08 22:10:59 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-01-08 22:10:59 (GMT) |
commit | bfd23c8031316d2b1269299adc88cb71407aa741 (patch) | |
tree | c6cb6b751f75c8a59e80f6d2d81e8a980cd0f293 /library | |
parent | a1a7b85d0a4953d55526a961d805de833c43db8f (diff) | |
download | tk-bfd23c8031316d2b1269299adc88cb71407aa741.zip tk-bfd23c8031316d2b1269299adc88cb71407aa741.tar.gz tk-bfd23c8031316d2b1269299adc88cb71407aa741.tar.bz2 |
Make test-case and binding equal for win32 and x11. Test-case doesn't pass yet
Diffstat (limited to 'library')
-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} |