You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if user clicks where two controls overlap, both controls activate. The first control that is drawn on top should "consume" the input event and the one behind that should not get activated in such cases.
The text was updated successfully, but these errors were encountered:
@ssoher Events consumption does not depend on raygui but on the underlying inputs mnagement layer, in this case raylib. It seems an issue that could only affects on some specific use cases, dependant on UI design.
If the assumption is "GUI controls can never ever overlap" then in its current state there is no problem. But when we allow the user to alter the GUI dynamically (move, scale) then it becomes a problem. But I understand if it's the library user's responsibility to track the state of input and check if any gui item is already interacted with in a given frame so that other controls return early/don't do anything.
Currently if user clicks where two controls overlap, both controls activate. The first control that is drawn on top should "consume" the input event and the one behind that should not get activated in such cases.
The text was updated successfully, but these errors were encountered: