Use Window.requestIdleCallback()
This commit is contained in:
parent
a444637b18
commit
7ce86c3d2a
6 changed files with 59 additions and 26 deletions
|
|
@ -9,7 +9,7 @@ mod timeout;
|
|||
pub use self::canvas::Canvas;
|
||||
pub use self::event::ButtonsState;
|
||||
pub use self::scaling::ScaleChangeDetector;
|
||||
pub use self::timeout::{AnimationFrameRequest, Timeout};
|
||||
pub use self::timeout::{IdleCallback, Timeout};
|
||||
|
||||
use crate::dpi::{LogicalSize, Size};
|
||||
use crate::platform::web::WindowExtWebSys;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue