diff options
author | unknown <Pixel@.(none)> | 2009-12-17 22:16:07 -0800 |
---|---|---|
committer | unknown <Pixel@.(none)> | 2009-12-17 22:16:07 -0800 |
commit | 36624b05efae3fa82280a945fa2eb1dedc84e0b0 (patch) | |
tree | 1e8d85b4e8eefcf2046f5e799e307b8cee65133d | |
parent | 45f3cba3b420ebc1b3ba793f3a609d8c5447a5ce (diff) |
Fixing linking line while panning.
-rw-r--r-- | dalos.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -169,6 +169,9 @@ dalosp.canvas = { if self.stateful.panning then local ox, oy = self.ox, self.oy local dx, dy = x - ox, y - oy + if self.stateful.linking then + self.bx, self.by = self.bx + dx, self.by + dy + end self:panning(dx, dy) self.ox, self.oy = x, y elseif self.stateful.leftbutton then |