diff options
author | Pixel <pixel@nobis-crew.org> | 2009-12-22 00:19:22 +0100 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-12-22 00:19:22 +0100 |
commit | a984dff9f2c8be16ad392e864c13de08fe729204 (patch) | |
tree | e23157675584755b4e6516e79548780dec975af6 | |
parent | 5d600b135fee0fd3f2ccbc9ee37ffd4e37cad7ac (diff) |
Fixing wheel setting.
-rw-r--r-- | dalos.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -388,6 +388,8 @@ dalosp.canvas = { wheel_cb = function (self, delta, x, y, status) local obj = self:findobj(x, y) + if delta > 0 then delta = math.floor(delta + 0.5) else delta = -math.floor(-delta + 0.5) end + if obj then if iup.isshift(status) then obj.obj:change_curoutput(delta) |