macos: Fix compile on aarch64
This commit is contained in:
parent
be850e483a
commit
3a077ff211
4 changed files with 9 additions and 7 deletions
|
|
@ -10,6 +10,7 @@ use cocoa::{
|
|||
};
|
||||
use dispatch::Queue;
|
||||
use objc::rc::autoreleasepool;
|
||||
use objc::runtime::NO;
|
||||
|
||||
use crate::{
|
||||
dpi::LogicalSize,
|
||||
|
|
@ -167,7 +168,7 @@ pub unsafe fn set_maximized_async(
|
|||
} else {
|
||||
shared_state_lock.saved_standard_frame()
|
||||
};
|
||||
ns_window.setFrame_display_(new_rect, 0);
|
||||
ns_window.setFrame_display_(new_rect, NO);
|
||||
}
|
||||
|
||||
trace!("Unlocked shared state in `set_maximized`");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue