Replies: 2 comments
-
an issue created for this at #656 |
Beta Was this translation helpful? Give feedback.
0 replies
-
It looks like egui doesn't pay attention to events outside the area. I'm using crate |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create a translator, we can select a sentence then the translator show the result.
I notice that egui provides the ability to get the mouse events, I tested it and found It can only get events occured inside the egui area. I need to get the global mouse events, which means every events including those outsiding egui area.
So I found a crates that provides global mouse events, however I need to process all the event manualy to analysis whether the mouse is moving, which is a little complex.
I wonder if there is an easier way to modify egui itself or some configuration to allow it return global events, or how to simply reuse egui's code related to mouse event handling to detect movement.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions