summaryrefslogtreecommitdiffstats
path: root/library/scrlbar.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-08 14:41:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-08 14:41:58 (GMT)
commit52598f831a2b67fd2feb6317fb7fca9828712cf5 (patch)
treed06483faa59f6920ff46bd9a8276adb77860ed69 /library/scrlbar.tcl
parent93871e55e0916c42bc9d393fdba3814b1b45e285 (diff)
downloadtk-52598f831a2b67fd2feb6317fb7fca9828712cf5.zip
tk-52598f831a2b67fd2feb6317fb7fca9828712cf5.tar.gz
tk-52598f831a2b67fd2feb6317fb7fca9828712cf5.tar.bz2
(cherry-pick) Backout previous commit: it causes many event-related test-failures in Tk test suite
Diffstat (limited to 'library/scrlbar.tcl')
-rw-r--r--library/scrlbar.tcl4
1 files changed, 0 insertions, 4 deletions
diff --git a/library/scrlbar.tcl b/library/scrlbar.tcl
index 7cec556..4b25325 100644
--- a/library/scrlbar.tcl
+++ b/library/scrlbar.tcl
@@ -141,10 +141,6 @@ if {[tk windowingsystem] eq "aqua"} {
bind Scrollbar <Shift-Option-MouseWheel> {
tk::ScrollByUnits %W h [expr {-10 * (%D)}]
}
-} else {
- bind Scrollbar <MouseWheel> {
- tk::ScrollByUnits %W v [expr {- (%D/120)}]
- }
}
# tk::ScrollButtonDown --
# This procedure is invoked when a button is pressed in a scrollbar.