fix: set NSResizableWindowMask at init time (#15384)
This commit is contained in:
parent
dcdbc87ef4
commit
88b1f7d9c8
1 changed files with 3 additions and 0 deletions
|
@ -339,6 +339,9 @@ NativeWindowMac::NativeWindowMac(const mate::Dictionary& options,
|
|||
if (!useStandardWindow || transparent() || !has_frame()) {
|
||||
styleMask |= NSTexturedBackgroundWindowMask;
|
||||
}
|
||||
if (resizable_) {
|
||||
styleMask |= NSResizableWindowMask;
|
||||
}
|
||||
|
||||
// Create views::Widget and assign window_ with it.
|
||||
// TODO(zcbenz): Get rid of the window_ in future.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue