haxeui / haxeui-flixel

The Flixel backend of the HaxeUI framework
MIT License
48 stars 15 forks source link

Tabview's "layers" not working properly #22

Closed guifes closed 3 years ago

guifes commented 3 years ago

Capture Capture2 Capture3

Steps to reproduce:
- navigate to the second tab
- navigate to the second inner tab and back to the first inner tab
- navigate to the first tab
- navigate to the second tab again.

All images from both inner tabs will appear overlapped.

Project to reproduce: HaxeuiDebug2.zip

ianharrigan commented 3 years ago

That should be fixed in latest haxeui-flixel (you'll also need to grab latest haxeui-core)

The issue was actually in flixel, when you set the .visible property of a group, it goes through all its children recursively and blanket sets the .visible in all of them, so if you had a group of of groups and set one of the child groups .visible=false and then set the top level group to visible=true it will set all the .visible properties of everything to true...