diff --git a/crates/gpui/src/style.rs b/crates/gpui/src/style.rs index e1d82adea8751a8f0baf60c40dac4efbec993b1b..a12bb6df12836390855c6dfd6da078481425fabc 100644 --- a/crates/gpui/src/style.rs +++ b/crates/gpui/src/style.rs @@ -7,7 +7,7 @@ use crate::{ SizeRefinement, Styled, TextRun, }; use collections::HashSet; -use refineable::{Cascade, Refineable}; +use refineable::Refineable; use smallvec::SmallVec; pub use taffy::style::{ AlignContent, AlignItems, AlignSelf, Display, FlexDirection, FlexWrap, JustifyContent, @@ -15,10 +15,12 @@ pub use taffy::style::{ }; #[cfg(debug_assertions)] +/// Use this struct for interfacing with the 'debug_below' styling from your own elements. +/// If a parent element has this style set on it, then this struct will be set as a global in +/// GPUI. pub struct DebugBelow; -pub type StyleCascade = Cascade