mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-26 15:44:20 +00:00
Use a consistent default for window scaling (#38527)
(And make it 2, because most macs have retina screens) Release Notes: - N/A
This commit is contained in:
parent
b97843ea02
commit
dccbb47fbc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue