Closed jedierikb closed 14 years ago
I guess the workaround is to remove_child, change z order, and add_child
fixed
Thank you for the fix.
If you are resorting a lot of children, or just swapping the z-order of two children, the current implementation requires multiple sorts. I wonder if it makes sense to wait until the next rendering to do a parent's sorting so that it is only done once.
avoid premature optimizations
When you change z-order on a sprite, that sprite should get resorted