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
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