Use instant instead of wasm-timer in iced_core

This commit is contained in:
Héctor Ramón Jiménez 2023-01-12 06:24:44 +01:00
parent fc54d6ba31
commit c6d0046102
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
11 changed files with 13 additions and 13 deletions

View file

@ -18,6 +18,7 @@ use crate::layout;
use crate::mouse::{self, click};
use crate::renderer;
use crate::text::{self, Text};
use crate::time::{Duration, Instant};
use crate::touch;
use crate::widget;
use crate::widget::operation::{self, Operation};
@ -28,8 +29,6 @@ use crate::{
Rectangle, Shell, Size, Vector, Widget,
};
use instant::{Duration, Instant};
pub use iced_style::text_input::{Appearance, StyleSheet};
/// A field that can be filled with text.