summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-23 08:23:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-23 08:23:00 (GMT)
commite6d8782a82c1f9422c20369e90c092780c14d6ed (patch)
tree2fec34a34e5ff7839ce196a2225c09e34047f7f0 /library
parent8b875a2dea8842983609f3d80b6c94637e485e0b (diff)
parent5164db768ac805564630f25daae0357dad688b0c (diff)
downloadtk-e6d8782a82c1f9422c20369e90c092780c14d6ed.zip
tk-e6d8782a82c1f9422c20369e90c092780c14d6ed.tar.gz
tk-e6d8782a82c1f9422c20369e90c092780c14d6ed.tar.bz2
Merge 8.7
Diffstat (limited to 'library')
-rw-r--r--library/text.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/text.tcl b/library/text.tcl
index e7c6827..c61baaf 100644
--- a/library/text.tcl
+++ b/library/text.tcl
@@ -442,16 +442,16 @@ bind Text <B2-Motion> {
set ::tk::Priv(prevPos) {}
bind Text <MouseWheel> {
- tk::MouseWheel y %D -3.0 pixels
+ tk::MouseWheel %W y %D -3.0 pixels
}
bind Text <Option-MouseWheel> {
- tk::MouseWheel y %D -0.3 pixels
+ tk::MouseWheel %W y %D -0.3 pixels
}
bind Text <Shift-MouseWheel> {
- tk::MouseWheel x %D -3.0 pixels
+ tk::MouseWheel %W x %D -3.0 pixels
}
bind Text <Shift-Option-MouseWheel> {
- tk::MouseWheel x %D -0.3 pixels
+ tk::MouseWheel %W x %D -0.3 pixels
}
# ::tk::TextClosestGap --