fix: paint and flash issues on macOS (#46615)
* fix: paint and flash issues on macOS * Adhere to paintWhenInitiallyHidden
This commit is contained in:
parent
62b5b5f99d
commit
51bffb533e
6 changed files with 57 additions and 6 deletions
|
@ -47,7 +47,7 @@ BrowserWindow::BrowserWindow(gin::Arguments* args,
|
|||
// Copy the show setting to webContents, but only if we don't want to paint
|
||||
// when initially hidden
|
||||
bool paint_when_initially_hidden = true;
|
||||
options.Get("paintWhenInitiallyHidden", &paint_when_initially_hidden);
|
||||
options.Get(options::kPaintWhenInitiallyHidden, &paint_when_initially_hidden);
|
||||
if (!paint_when_initially_hidden) {
|
||||
bool show = true;
|
||||
options.Get(options::kShow, &show);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue