History

Use a consistent default for window scaling (#38527)

(And make it 2, because most macs have retina screens) Release Notes: - N/A

Conrad Irwin committed 1 year ago

Commit dccbb471 parent b97843e1 file · +1 −1Browse files

Unified · Split

crates/gpui/src/platform/mac/window.rs+1−1
@@ -1566,7 +1566,7 @@ fn get_scale_factor(native_window: id) -> f32 { · 1565 unmodified lines
15661566 let factor = unsafe {
15671567 let screen: id = msg_send![native_window, screen];
15681568 if screen.is_null() {
1569− return 1.0;
1569+ return 2.0;
15701570 }
15711571 NSScreen::backingScaleFactor(screen) as f32
15721572 };