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,11 +1,10 @@
|
||||
use std::time::Instant;
|
||||
|
||||
use gpui::{
|
||||
Animation, AnimationExt, AnyElement, App, ElementId, Entity, FontWeight, InteractiveElement,
|
||||
IntoElement, ParentElement, Pixels, RenderOnce, SharedString, StatefulInteractiveElement,
|
||||
Styled, Window, canvas, div,
|
||||
};
|
||||
use smallvec::SmallVec;
|
||||
use web_time::Instant;
|
||||
|
||||
use crate::{
|
||||
motion,
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
use std::{
|
||||
cell::Cell,
|
||||
rc::Rc,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
use std::{cell::Cell, rc::Rc, time::Duration};
|
||||
|
||||
use gpui::{
|
||||
AnyElement, App, Axis, Bounds, Canvas, Div, ElementId, EmptyView, Entity, EntityId,
|
||||
@@ -11,6 +7,7 @@ use gpui::{
|
||||
div, point, prelude::*,
|
||||
};
|
||||
use smallvec::SmallVec;
|
||||
use web_time::Instant;
|
||||
|
||||
use super::ScrollShadow;
|
||||
use crate::{motion, theme::ActiveTheme};
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
use std::{
|
||||
rc::Rc,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
use std::{rc::Rc, time::Duration};
|
||||
|
||||
use gpui::{
|
||||
AnyElement, App, ElementId, IntoElement, ParentElement, Pixels, RenderOnce, ScrollHandle,
|
||||
Styled, Window, canvas, div, point, prelude::*,
|
||||
};
|
||||
use web_time::Instant;
|
||||
|
||||
use crate::{
|
||||
buttons::{ButtonVariant, IconButton},
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
use std::time::Instant;
|
||||
|
||||
use gpui::{
|
||||
Animation, AnimationExt, AnyElement, App, ElementId, InteractiveElement, IntoElement,
|
||||
ParentElement, RenderOnce, Styled, Window, div,
|
||||
};
|
||||
use smallvec::SmallVec;
|
||||
use web_time::Instant;
|
||||
|
||||
use crate::{motion, theme::ActiveTheme};
|
||||
|
||||
|
||||
Reference in new issue
Block a user