From 2055f05b09f2e6ae12564c76f9bc3efe9deee5f9 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 25 Oct 2022 12:19:25 +0200 Subject: [PATCH] :lipstick: --- crates/gpui/src/scene.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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