diff --git a/crates/gpui/src/scene.rs b/crates/gpui/src/scene.rs index 6c4b8a28f5..fbed606ff8 100644 --- a/crates/gpui/src/scene.rs +++ b/crates/gpui/src/scene.rs @@ -26,6 +26,11 @@ pub struct SceneBuilder { mouse_region_ids: HashSet, } +pub struct Scene { + scale_factor: f32, + stacking_contexts: Vec, +} + struct StackingContext { layers: Vec, active_layer_stack: Vec, @@ -176,11 +181,6 @@ pub struct Image { pub data: Arc, } -pub struct Scene { - scale_factor: f32, - stacking_contexts: Vec, -} - impl Scene { pub fn scale_factor(&self) -> f32 { self.scale_factor