fix: paint and flash issues on macOS (#46628)
* fix: paint and flash issues on macOS Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * Adhere to paintWhenInitiallyHidden Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * fix: patch indices --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
c438ed4790
commit
b2e695c2e2
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