summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dalos.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/dalos.lua b/dalos.lua
index 3400aaa..0747073 100644
--- a/dalos.lua
+++ b/dalos.lua
@@ -253,10 +253,10 @@ dalosp.canvas = {
self.stateful.leftclk = obj
table.remove(self.objects, ind)
table.insert(self.objects, obj)
- self.ox, self.oy = x, y
- self.bx, self.by = x, y
- self:draw()
end
+ self.ox, self.oy = x, y
+ self.bx, self.by = x, y
+ self:draw()
end
else
if not self.stateful.linking and self.stateful.leftclk and not self.stateful.dragging then
@@ -294,10 +294,10 @@ dalosp.canvas = {
self.stateful.rghtclk = obj
table.remove(self.objects, ind)
table.insert(self.objects, obj)
- self.ox, self.oy = x, y
- self.bx, self.by = x, y
- self:draw()
end
+ self.ox, self.oy = x, y
+ self.bx, self.by = x, y
+ self:draw()
end
else
if not self.stateful.moving and self.stateful.rghtclk and not self.stateful.dragging then