Closed YgorSouza closed 5 days ago
I don't know if this is the best API, but it is relatively simple and seems to solve the problem of the pan zoom demo being layered above everything.
https://github.com/emilk/egui/assets/43298013/b910950f-7362-4ba0-881c-10a63a5f2630
It does not solve the other problem mentioned in https://github.com/emilk/egui/issues/4128#issuecomment-2001977126.
Thanks!
When the layers are reordered at the end of the frame, the sublayers are placed directly above their respective parents. This allows having Areas inside Windows, e.g., for the pan-zoom container.