summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dalos.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/dalos.lua b/dalos.lua
index 8e95028..bf54c04 100644
--- a/dalos.lua
+++ b/dalos.lua
@@ -429,6 +429,7 @@ dalosp.canvas = {
wheel_cb = function (self, delta, x, y, status)
local obj = self:findobj(x, y)
+ delta = -delta
if delta > 0 then delta = math.floor(delta + 0.5) else delta = -math.floor(-delta + 0.5) end
if obj then