Always send RedrawEventsCleared on iOS
This makes it consistent with the rest of the platforms in winit.
This commit is contained in:
parent
a58400a82c
commit
142d55ff24
2 changed files with 2 additions and 3 deletions
|
|
@ -811,9 +811,7 @@ pub unsafe fn handle_main_events_cleared() {
|
|||
})
|
||||
.collect();
|
||||
|
||||
if !redraw_events.is_empty() {
|
||||
redraw_events.push(EventWrapper::StaticEvent(Event::RedrawEventsCleared));
|
||||
}
|
||||
redraw_events.push(EventWrapper::StaticEvent(Event::RedrawEventsCleared));
|
||||
drop(this);
|
||||
|
||||
handle_nonuser_events(redraw_events);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue