Make hasShadow work on Windows/Linux
This commit is contained in:
parent
d704b3f7ba
commit
239bfe970c
5 changed files with 21 additions and 20 deletions
|
@ -449,12 +449,6 @@ NativeWindowMac::NativeWindowMac(
|
|||
if (!has_frame())
|
||||
[window_ setOpaque:NO];
|
||||
|
||||
bool has_shadow = true;
|
||||
options.Get(options::kHasShadow, &has_shadow);
|
||||
if (!has_shadow) {
|
||||
SetHasShadow(false);
|
||||
}
|
||||
|
||||
// We will manage window's lifetime ourselves.
|
||||
[window_ setReleasedWhenClosed:NO];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue