Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ And please only add new entries to the top of this list, right below the `# Unre
- On Wayland, fix polling during consecutive `EventLoop::run_return` invocations.
- On Windows, fix race issue creating fullscreen windows with `WindowBuilder::with_fullscreen`
- On Android, `virtual_keycode` for `KeyboardInput` events is now filled in where a suitable match is found.
- On iOS, send `RedrawEventsCleared` even if there are no redraw events, consistent with other platforms.

# 0.26.1 (2022-01-05)

Expand Down
4 changes: 1 addition & 3 deletions src/platform_impl/ios/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down