fix: update deprecated NSWindow masks (#14760)

This commit is contained in:
Shelley Vohr 2018-09-26 16:00:57 -07:00 committed by GitHub
parent be2c27d5b8
commit 985d35fc1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 25 deletions

View file

@ -55,7 +55,7 @@ const NSAutoresizingMaskOptions kDefaultAutoResizingMask =
return;
}
if (self.window.styleMask & NSFullScreenWindowMask) {
if (self.window.styleMask & NSWindowStyleMaskFullScreen) {
return;
}
@ -67,7 +67,7 @@ const NSAutoresizingMaskOptions kDefaultAutoResizingMask =
return;
}
if (self.window.styleMask & NSFullScreenWindowMask) {
if (self.window.styleMask & NSWindowStyleMaskFullScreen) {
return;
}