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
The problem is that egui will only generate drag events for one widget, so if you call ui.interact() during a frame where a drag starts, and the mouse is inside the interact area, no other call to interact will return a drag_started event no matter what.
I implemented a fix for this (PR incoming) which seems to be working fine. The trick is deferring the call to interact until we're sure that the mouse is hovering something we're interested in. 😄
The text was updated successfully, but these errors were encountered:
I tried adding multiple gizmos at the same time, and it seems only one of them (the first one I draw) is interactable.
I've tracked down the issue to
lib.rs:158
The problem is that egui will only generate drag events for one widget, so if you call
ui.interact()
during a frame where a drag starts, and the mouse is inside the interact area, no other call tointeract
will return adrag_started
event no matter what.I implemented a fix for this (PR incoming) which seems to be working fine. The trick is deferring the call to
interact
until we're sure that the mouse is hovering something we're interested in. 😄The text was updated successfully, but these errors were encountered: