Use viewDidChangeEffectiveAppearance
to detect appearance changes
This commit is contained in:
parent
d10f6f60ad
commit
c1f448d8a8
3 changed files with 9 additions and 28 deletions
|
@ -54,8 +54,6 @@ const NSUTF8StringEncoding: NSUInteger = 4;
|
|||
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub const NSViewLayerContentsRedrawDuringViewResize: NSInteger = 2;
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub const NSKeyValueObservingOptionNew: NSInteger = 1;
|
||||
|
||||
const MAC_PLATFORM_IVAR: &str = "platform";
|
||||
static mut APP_CLASS: *const Class = ptr::null();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue