diff options
author | unknown <Pixel@.(none)> | 2009-12-16 22:51:41 -0800 |
---|---|---|
committer | unknown <Pixel@.(none)> | 2009-12-16 22:51:41 -0800 |
commit | c1525d0b62a8468e9f49f7fed40b71c1054931e4 (patch) | |
tree | 6e3c5f9a538530bc528a1b74e8ba66ffad7ab8cc | |
parent | 71a92589064a037826e8834336af13f649b32d36 (diff) |
Fixing wheel.
-rw-r--r-- | dalos.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -233,11 +233,11 @@ dalosp.canvas = { if obj then if iup.isshift(status) then - obj:change_curoutput(delta) + obj.obj:change_curoutput(delta) elseif iup.isalt(status) then - obj:change_quicksetting(delta) + obj.obj:change_quicksetting(delta) else - obj:change_curinput(delta) + obj.obj:change_curinput(delta) end end @@ -355,7 +355,7 @@ dalosp.object = { end, change_curoutput = function (self, delta) - if self.ouputs <= 1 then return end + if self.noutputs <= 1 then return end self.curoutput = self.curoutput + delta if self.curoutput > self.noutputs then self.curoutput = self.noutputs end if self.curoutput <= 0 then self.curoutput = 1 end |