summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2016-01-08 22:10:59 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2016-01-08 22:10:59 (GMT)
commit87580db4e076f4654b4b3e877bac679f1729bcba (patch)
treec6cb6b751f75c8a59e80f6d2d81e8a980cd0f293 /library
parent92daef03095e8005d79dbd1f9d5c80f30bfc5a01 (diff)
downloadtk-87580db4e076f4654b4b3e877bac679f1729bcba.zip
tk-87580db4e076f4654b4b3e877bac679f1729bcba.tar.gz
tk-87580db4e076f4654b4b3e877bac679f1729bcba.tar.bz2
Make test-case and binding equal for win32 and x11. Test-case doesn't pass yet
FossilOrigin-Name: 6f53a81ff7bb2363bc88d2df1201567777ac4978
Diffstat (limited to 'library')
-rw-r--r--library/scrlbar.tcl4
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}