web: the library checks for wasm32 (carried)

This commit is contained in:
ZacharyZhang-NY committed 2026-09-29 19:16:41 -04:00
1 parent fe467d2bfe
commit a03df0987c
44 files changed
+141 -104

No files matched your search

+3 -1
View File
@@ -1,4 +1,6 @@
use std::time::{Duration, Instant};
use std::time::Duration;
use web_time::Instant;
use crate::motion;
+2 -1
View File
@@ -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 -2
View File
@@ -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,