Implement Window::request_redraw on Android (#1953)

This commit is contained in:
Tilmann Meyer 2021-06-05 12:47:08 +02:00 committed by GitHub
parent 1eff7ae004
commit 67cca71524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 3 deletions

View file

@ -438,7 +438,7 @@ impl Window {
/// ## Platform-specific
///
/// - **iOS:** Can only be called on the main thread.
/// - **Android:** Unsupported.
/// - **Android:** Subsequent calls after `MainEventsCleared` are not handled.
#[inline]
pub fn request_redraw(&self) {
self.window.request_redraw()