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
@@ -1,6 +1,6 @@
|
||||
use std::{
|
||||
f32::consts::{PI, TAU},
|
||||
time::{Duration, Instant},
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
use gpui::{
|
||||
@@ -9,6 +9,7 @@ use gpui::{
|
||||
prelude::*,
|
||||
};
|
||||
use smallvec::SmallVec;
|
||||
use web_time::Instant;
|
||||
|
||||
use super::{NUDGE, SLOW, duration, ease_out_cubic};
|
||||
use crate::theme::ActiveTheme;
|
||||
|
||||
+2
-1
@@ -1,9 +1,10 @@
|
||||
use std::{collections::HashMap, rc::Rc, time::Instant};
|
||||
use std::{collections::HashMap, rc::Rc};
|
||||
|
||||
use gpui::{
|
||||
AnyElement, App, ElementId, Entity, IntoElement, ParentElement, Pixels, RenderOnce,
|
||||
SharedString, Styled, Window, canvas, div,
|
||||
};
|
||||
use web_time::Instant;
|
||||
|
||||
use super::{BASE, duration, ease_in_out_cubic, ease_out_cubic};
|
||||
use crate::theme::{ActiveTheme, Elevation};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use std::{f32::consts::PI, time::Instant};
|
||||
use std::f32::consts::PI;
|
||||
|
||||
use gpui::{
|
||||
Animation, AnimationExt, AnyElement, App, Div, ElementId, InteractiveElement, IntoElement,
|
||||
@@ -6,6 +6,7 @@ use gpui::{
|
||||
prelude::*, radians,
|
||||
};
|
||||
use smallvec::SmallVec;
|
||||
use web_time::Instant;
|
||||
|
||||
use super::{BASE, FAST, NUDGE, Skeleton, Spinner, changes, duration, ease_out_cubic};
|
||||
use crate::{
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
use std::{
|
||||
f32::consts::TAU,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
use std::{f32::consts::TAU, time::Duration};
|
||||
|
||||
use gpui::{
|
||||
Animation, AnimationExt, AnyElement, App, Bounds, Div, ElementId, Hsla, InteractiveElement,
|
||||
@@ -10,6 +7,7 @@ use gpui::{
|
||||
px, size,
|
||||
};
|
||||
use smallvec::SmallVec;
|
||||
use web_time::Instant;
|
||||
|
||||
use super::{
|
||||
duration,
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
use std::time::{Duration, Instant};
|
||||
use std::time::Duration;
|
||||
|
||||
use gpui::{
|
||||
Animation, AnimationExt, AnyElement, App, ElementId, IntoElement, ParentElement, RenderOnce,
|
||||
Styled, Window, div,
|
||||
};
|
||||
use smallvec::SmallVec;
|
||||
use web_time::Instant;
|
||||
|
||||
use super::{BASE, NUDGE, duration, ease_out_cubic};
|
||||
use crate::theme::ActiveTheme;
|
||||
|
||||
Reference in new issue
Block a user