jawa0 / aish3

AI LLM Agent with memories
Apache License 2.0
3 stars 1 forks source link

When I left-click on a GUI control, it should come to the front of the z-order so it is not obscured by other controls #93

Closed jawa0 closed 4 months ago

jawa0 commented 4 months ago

Currently if I have two overlapping controls, with A in front of B, if I select B by clicking on it, it remains behind A. When I select a control, without moving any controls, I want the selected control to be drawn on top of other controls. We may need to start explicitly tracking a z-order or depth-order parameter. Currently, I don't think we have an explicit ordering of the drawing of controls. It's just a side-effect of the order they were added to their container. Make sure to properly handle the interaction between GUIControls and GUIContainers. @mentatbot

mentatbot[bot] commented 4 months ago

I will start working on this issue