web: the library checks for wasm32 (carried)
This commit is contained in:
1 parent
fe467d2bfe
commit
a03df0987c
44 files changed
+141
-104
No files matched your search
+3
-1
@@ -1,4 +1,6 @@
|
||||
use std::time::{Duration, Instant};
|
||||
use std::time::Duration;
|
||||
|
||||
use web_time::Instant;
|
||||
|
||||
use crate::motion;
|
||||
|
||||
|
||||
+2
-1
@@ -1,6 +1,6 @@
|
||||
use std::{
|
||||
f32::consts::{FRAC_PI_2, PI, TAU},
|
||||
time::{Duration, Instant},
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
use gpui::{
|
||||
@@ -8,6 +8,7 @@ use gpui::{
|
||||
MouseMoveEvent, ParentElement, PathBuilder, Pixels, Point, Refineable, RenderOnce,
|
||||
SharedString, StatefulInteractiveElement, StyleRefinement, Styled, Window, canvas, div, point,
|
||||
};
|
||||
use web_time::Instant;
|
||||
|
||||
use super::{
|
||||
axes::anchored,
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
use std::time::Instant;
|
||||
|
||||
use gpui::{
|
||||
App, Bounds, ContentMask, Div, ElementId, Entity, InteractiveElement, IntoElement,
|
||||
ParentElement, PathBuilder, Pixels, Refineable, RenderOnce, StyleRefinement, Styled, Window,
|
||||
canvas, div, fill, size,
|
||||
};
|
||||
use web_time::Instant;
|
||||
|
||||
use super::{
|
||||
axes::beside,
|
||||
|
||||
Reference in new issue
Block a user