Change summary
crates/gpui/src/scene.rs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Detailed changes
@@ -26,6 +26,11 @@ pub struct SceneBuilder {
mouse_region_ids: HashSet<MouseRegionId>,
}
+pub struct Scene {
+ scale_factor: f32,
+ stacking_contexts: Vec<StackingContext>,
+}
+
struct StackingContext {
layers: Vec<Layer>,
active_layer_stack: Vec<usize>,
@@ -176,11 +181,6 @@ pub struct Image {
pub data: Arc<ImageData>,
}
-pub struct Scene {
- scale_factor: f32,
- stacking_contexts: Vec<StackingContext>,
-}
-
impl Scene {
pub fn scale_factor(&self) -> f32 {
self.scale_factor