Closed notalentgeek closed 8 years ago
Hmmm... Strange. Do you have a minimal example that i can test
Well I have a repository. https://github.com/NoTalentGeek/HaXeOpenFLMuseumManager
It is on Main.hx line 200.
However, I used the forked version of your haxeui library. https://github.com/NoTalentGeek/haxeui
And these libraries:
Right, but i dont have time to wade through a large, working project looking for bugs to be honest. I would suggest you create a smaller / simpler project that does the same thing there (ie, a minimal example) and see if the problem persists there. If it does then i can probably help with that minimised scope.
Cheers, Ian
Yeah no problem. It is quite big.
It is the simplest code to hide and show a popup object. My problem is still present.
Ok, thats much easier to work with ;). It seems a little strange to be removing a popup in an update look, but regardless, i wouldnt expect it to error. The error is that you are trying to remove the popup from a root and that popup display object isnt a child of the root (yet i presume).
Im going to tighten up removeChild calls to first make sure its actually a child. Give me 5 mins.
Ok, should be fixed now in haxelib v1.8.17
Hey it is perfect! Thank you so much Ian :)))).
Check my example here. https://notalentgeek.itch.io/e-haxeopenflmuseummanager
The translucent overlay display is still in the screen when the popup is gone. Here is the screenshot.