diff options
Diffstat (limited to 'gitk')
| -rwxr-xr-x | gitk | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -2735,14 +2735,8 @@ proc makewindow {} { set scroll_D0 1 bind_mousewheel_buttons } elseif {[tk windowingsystem] == "aqua"} { - bindall <MouseWheel> { - set delta [expr {- (%D)}] - allcanvs yview scroll $delta units - } - bindall <Shift-MouseWheel> { - set delta [expr {- (%D)}] - $canv xview scroll $delta units - } + set scroll_D0 1 + bind_mousewheel } else { puts stderr [mc "Unknown windowing system, cannot bind mouse"] } |
