Use a consistent default for window scaling (#38527)

Conrad Irwin created

(And make it 2, because most macs have retina screens)

Release Notes:

- N/A

Change summary

crates/gpui/src/platform/mac/window.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/gpui/src/platform/mac/window.rs 🔗

@@ -1566,7 +1566,7 @@ fn get_scale_factor(native_window: id) -> f32 {
     let factor = unsafe {
         let screen: id = msg_send![native_window, screen];
         if screen.is_null() {
-            return 1.0;
+            return 2.0;
         }
         NSScreen::backingScaleFactor(screen) as f32
     };