TangentFoxy / Pop.Box

(ON HOLD) Pop.Box is an easy to use GUI library for the LÖVE engine, intended for rapid prototyping.
http://guard13007.github.io/Pop.Box/docs
MIT License
8 stars 4 forks source link

addChild does not break old relations before adding! #9

Closed TangentFoxy closed 8 years ago

TangentFoxy commented 8 years ago

Example where horrible bug might occur:

b = pop.box() -- now a child of pop.screen
w = pop.window()
w:addChild(b) -- now pop.screen still has b as a child, but it is w's child - uh oh
TangentFoxy commented 8 years ago

Note: This needs to be fixed both on element and window!