diff --git a/editor/src/main.rs b/editor/src/main.rs index d960b8e..370639e 100644 --- a/editor/src/main.rs +++ b/editor/src/main.rs @@ -192,7 +192,7 @@ impl Application { let screen_desc = egui_wgpu_backend::ScreenDescriptor { physical_width: self.config.width, physical_height: self.config.height, - scale_factor: 1.0, // TODO ??? + scale_factor: self.egui_ctx.pixels_per_point(), }; self.egui_rp