Use Instant from iced_core instead of std
This is needed for Wasm compatibility.
This commit is contained in:
parent
882ae304ac
commit
c2baf18cbf
1 changed files with 1 additions and 2 deletions
|
|
@ -1,10 +1,9 @@
|
|||
//! Handle events of a custom shader widget.
|
||||
use crate::core::keyboard;
|
||||
use crate::core::mouse;
|
||||
use crate::core::time::Instant;
|
||||
use crate::core::touch;
|
||||
|
||||
use std::time::Instant;
|
||||
|
||||
pub use crate::core::event::Status;
|
||||
|
||||
/// A [`Shader`] event.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue