mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Fix #123
This commit is contained in:
parent
0472742468
commit
9eca9e73ab
@ -88,10 +88,7 @@ function newobject:update(dt)
|
||||
local offsety = self.offsety
|
||||
|
||||
for k, v in ipairs(children) do
|
||||
local col = loveframes.util.BoundingBox(x, v.x, y, v.y, width, v.width, height, v.height)
|
||||
if col then
|
||||
v:update(dt)
|
||||
end
|
||||
v:update(dt)
|
||||
v:SetClickBounds(x, y, width, height)
|
||||
v.x = (v.parent.x + v.staticx) - offsetx
|
||||
v.y = (v.parent.y + v.staticy) - offsety
|
||||
|
Loading…
Reference in New Issue
Block a user