diff options
-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 |