Try to fix iOS build
This commit is contained in:
parent
7753bbba94
commit
28b82fb9aa
1 changed files with 2 additions and 2 deletions
|
|
@ -803,7 +803,7 @@ pub unsafe fn handle_main_events_cleared() {
|
||||||
handle_nonuser_event(EventWrapper::StaticEvent(Event::MainEventsCleared));
|
handle_nonuser_event(EventWrapper::StaticEvent(Event::MainEventsCleared));
|
||||||
|
|
||||||
let mut this = AppState::get_mut();
|
let mut this = AppState::get_mut();
|
||||||
let mut redraw_events: Vec<Event<Never>> = this
|
let mut redraw_events: Vec<EventWrapper> = this
|
||||||
.main_events_cleared_transition()
|
.main_events_cleared_transition()
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|window| {
|
.map(|window| {
|
||||||
|
|
@ -812,7 +812,7 @@ pub unsafe fn handle_main_events_cleared() {
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
if !redraw_events.is_empty() {
|
if !redraw_events.is_empty() {
|
||||||
redraw_events.push(Event::RedrawEventsCleared);
|
redraw_events.push(EventWrapper::StaticEvent(Event::RedrawEventsCleared));
|
||||||
}
|
}
|
||||||
drop(this);
|
drop(this);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue