diff --git a/src/window.rs b/src/window.rs index 1849043..d792501 100644 --- a/src/window.rs +++ b/src/window.rs @@ -15,7 +15,7 @@ impl EditorWindow { Self { params, #[cfg(target_os = "macos")] - scaling_factor: Arc::ne(AtomicCell::new(None)), + scaling_factor: Arc::new(AtomicCell::new(None)), #[cfg(not(target_os = "macos"))] scaling_factor: Arc::new(AtomicCell::new(Some(1.0))), }