diff options
Diffstat (limited to 'dalos.lua')
-rw-r--r-- | dalos.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -187,7 +187,7 @@ dalosp.canvas = { end, focus_cb = function (self, focus) - if focus == 0 then self:button_cb() end + if focus == 0 and not self.stateful.rghtbutton and not self.stateful.leftbutton then self:button_cb() end end, stypes = { @@ -602,7 +602,7 @@ dalosp.object = { end end local obj = { - draw = dalosp.object.default_draw, + draw = tab.draw or dalosp.object.default_draw, name = tab.name or "NoName", color = tab.color or cd.GRAY, ninputs = tab.ninputs or 0, |