mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Use the textured window for the frameless case too.
This commit is contained in:
@@ -315,7 +315,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
|
||||
|
||||
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
|
||||
NSMiniaturizableWindowMask | NSResizableWindowMask;
|
||||
if (!useStandardWindow || transparent_) {
|
||||
if (!useStandardWindow || transparent_ || !has_frame_) {
|
||||
styleMask |= NSTexturedBackgroundWindowMask;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user