diff options
Diffstat (limited to 'desiredata/src')
-rw-r--r-- | desiredata/src/desire.tk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/desiredata/src/desire.tk b/desiredata/src/desire.tk index 6cc7d16a..817e6f9f 100644 --- a/desiredata/src/desire.tk +++ b/desiredata/src/desire.tk @@ -1970,9 +1970,7 @@ def Canvas bind {eventtype selector args} { } } -def Canvas osx_scroll {axis diff} { - $self scroll $axis [expr -abs($diff)/%diff] -} +def Canvas osx_scroll {axis diff} {$self scroll $axis [expr -abs($diff)/$diff]} def Canvas new_binds {} { # mouse buttons |