Detailed changes
@@ -1,8 +1,8 @@
use std::any::Any;
use gpui3::{
- div, view, Action, Context, Focus, Interactive, KeyBinding, ParentElement, Styled, View,
- WindowContext,
+ div, view, Action, Context, Focus, KeyBinding, ParentElement, StatelesslyInteractive, Styled,
+ View, WindowContext,
};
use crate::themes::rose_pine;
@@ -1,12 +1,10 @@
-use std::marker::PhantomData;
-
-use gpui3::{img, svg, SharedString};
-
use crate::prelude::*;
use crate::{
static_collab_panel_channels, static_collab_panel_current_call, v_stack, Icon, List,
ListHeader, ToggleState,
};
+use gpui3::{img, svg, SharedString};
+use std::marker::PhantomData;
#[derive(Element)]
pub struct CollabPanel<S: 'static + Send + Sync + Clone> {
@@ -1,7 +1,7 @@
use std::marker::PhantomData;
use std::sync::Arc;
-use gpui3::{MouseButton, StatelesslyInteractive};
+use gpui3::MouseButton;
use crate::{h_stack, prelude::*};
use crate::{ClickHandler, Icon, IconColor, IconElement};
@@ -1,7 +1,7 @@
use std::marker::PhantomData;
use std::sync::Arc;
-use gpui3::{DefiniteLength, Hsla, MouseButton, StatelesslyInteractive, WindowContext};
+use gpui3::{DefiniteLength, Hsla, MouseButton, WindowContext};
use crate::settings::user_settings;
use crate::{h_stack, Icon, IconColor, IconElement, Label, LabelColor};
@@ -1,6 +1,6 @@
pub use gpui3::{
- div, Element, Hover, IntoAnyElement, ParentElement, ScrollState, SharedString,
- StatefullyInteractive, Styled, ViewContext, WindowContext,
+ div, Element, IntoAnyElement, ParentElement, ScrollState, SharedString, StatefullyInteractive,
+ StatelesslyInteractive, Styled, ViewContext, WindowContext,
};
use crate::settings::user_settings;