diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-20 21:07:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-20 21:07:40 (GMT) |
commit | aa1c6622027872fa5412d9bb438494b3e54588ea (patch) | |
tree | 50735c838af1763d8c3ba325a9f07aae7c016dfc /library/scale.tcl | |
parent | f16e08b414d8bc9e5f66ab5038f0dc33e7111633 (diff) | |
download | tk-aa1c6622027872fa5412d9bb438494b3e54588ea.zip tk-aa1c6622027872fa5412d9bb438494b3e54588ea.tar.gz tk-aa1c6622027872fa5412d9bb438494b3e54588ea.tar.bz2 |
Now (really) swap Buttons 2|3 on MacOS. Adapt all bindings not depending on aqua any more
Diffstat (limited to 'library/scale.tcl')
-rw-r--r-- | library/scale.tcl | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/library/scale.tcl b/library/scale.tcl index cc0de20..130c491 100644 --- a/library/scale.tcl +++ b/library/scale.tcl @@ -60,14 +60,6 @@ bind Scale <ButtonRelease-2> { tk::ScaleEndDrag %W tk::ScaleActivate %W %x %y } -if {[tk windowingsystem] eq "win32"} { - # On Windows do the same with button 3, as that is the right mouse button - bind Scale <Button-3> [bind Scale <Button-2>] - bind Scale <B3-Motion> [bind Scale <B2-Motion>] - bind Scale <B3-Leave> [bind Scale <B2-Leave>] - bind Scale <B3-Enter> [bind Scale <B2-Enter>] - bind Scale <ButtonRelease-3> [bind Scale <ButtonRelease-2>] -} bind Scale <Control-Button-1> { tk::ScaleControlPress %W %x %y } |