mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Fix: window not redrawing when moving
This commit is contained in:
@@ -392,6 +392,7 @@ impl State {
|
|||||||
| WindowEvent::Destroyed
|
| WindowEvent::Destroyed
|
||||||
| WindowEvent::Occluded(_)
|
| WindowEvent::Occluded(_)
|
||||||
| WindowEvent::Resized(_)
|
| WindowEvent::Resized(_)
|
||||||
|
| WindowEvent::Moved(_)
|
||||||
| WindowEvent::ThemeChanged(_)
|
| WindowEvent::ThemeChanged(_)
|
||||||
| WindowEvent::TouchpadPressure { .. } => EventResponse {
|
| WindowEvent::TouchpadPressure { .. } => EventResponse {
|
||||||
repaint: true,
|
repaint: true,
|
||||||
@@ -400,7 +401,6 @@ impl State {
|
|||||||
|
|
||||||
// Things we completely ignore:
|
// Things we completely ignore:
|
||||||
WindowEvent::AxisMotion { .. }
|
WindowEvent::AxisMotion { .. }
|
||||||
| WindowEvent::Moved(_)
|
|
||||||
| WindowEvent::SmartMagnify { .. }
|
| WindowEvent::SmartMagnify { .. }
|
||||||
| WindowEvent::TouchpadRotate { .. } => EventResponse {
|
| WindowEvent::TouchpadRotate { .. } => EventResponse {
|
||||||
repaint: false,
|
repaint: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user