summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2016-01-08 14:39:48 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2016-01-08 14:39:48 (GMT)
commit44c8cf885bbaaffb3a2c5fc449c4f57ec7dbda15 (patch)
tree4cf29d89db8421c07c639141d2472fdbf33a0ac9 /library
parente7e7dbc4af531416edc3a3a673489f593d677ce3 (diff)
downloadtk-44c8cf885bbaaffb3a2c5fc449c4f57ec7dbda15.zip
tk-44c8cf885bbaaffb3a2c5fc449c4f57ec7dbda15.tar.gz
tk-44c8cf885bbaaffb3a2c5fc449c4f57ec7dbda15.tar.bz2
Backout previous commit: it causes many event-related test-failures in Tk test suite
FossilOrigin-Name: 13f6aa29341055308a1d427a757fea25d5dc5fb8
Diffstat (limited to 'library')
-rw-r--r--library/scrlbar.tcl4
1 files changed, 0 insertions, 4 deletions
diff --git a/library/scrlbar.tcl b/library/scrlbar.tcl
index 2a70b97..e17442f 100644
--- a/library/scrlbar.tcl
+++ b/library/scrlbar.tcl
@@ -157,10 +157,6 @@ switch [tk windowingsystem] {
bind Scrollbar <Shift-4> {tk::ScrollByUnits %W h -5}
bind Scrollbar <Shift-5> {tk::ScrollByUnits %W h 5}
}
-} 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.