Replies: 4 comments 1 reply
-
My guess is that winit is still firing mouse move events when the window is focused and the mouse is moving outside of the window, and every winit event causes a repaint. Not sure what you could do about that 🤔. Maybe egui needs some way to filter events that you're not interested in? |
Beta Was this translation helpful? Give feedback.
-
Hi, Should egui be updated to avoid this problem? Anthony |
Beta Was this translation helpful? Give feedback.
-
This sounds like #3931 |
Beta Was this translation helpful? Give feedback.
-
A minimal reproduction of this is to create an
|
Beta Was this translation helpful? Give feedback.
-
Hello all,
I use eframe to create a native app. I put print statement in the update() function to check the repaint feature.
When the mouse is hover my app, I see a bunch of print statement. That is expected.
When the mouse is outside of the app boundary, the repaint still happen only when the mouse last click is on the app. If I click anywhere outside of the app and make my mouse movement, there are no prints.
Is there a way to stop completely the repaint if the mouse is not hovering my app?
Anthony
Beta Was this translation helpful? Give feedback.
All reactions