diff --git a/crates/gpui3/src/elements/nested.rs b/crates/gpui3/src/elements/nested.rs index 66a55b3a79..ccfe5fb4c2 100644 --- a/crates/gpui3/src/elements/nested.rs +++ b/crates/gpui3/src/elements/nested.rs @@ -1,6 +1,13 @@ -use crate::{AnyElement, Element, IntoAnyElement, Style, StyleCascade, StyleRefinement}; -use refineable::Refineable; +use crate::{ + group_bounds, AnyElement, DispatchPhase, Element, IntoAnyElement, MouseMoveEvent, SharedString, + Style, StyleCascade, StyleRefinement, +}; +use refineable::CascadeSlot; use smallvec::SmallVec; +use std::sync::{ + atomic::{AtomicBool, Ordering::SeqCst}, + Arc, +}; trait LayoutNode { fn state(&mut self) -> &mut LayoutNodeState; @@ -28,6 +35,7 @@ trait LayoutNode { struct LayoutNodeState { style_cascade: StyleCascade, + computed_style: Option