fix: unify BrowserWindow.isVisible() logic cross-platform (#38313)

fix: unify BrowserWindow.isVisible() logic cross-platform

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:
trop[bot]
2023-05-16 11:16:14 -04:00
committed by GitHub
parent 696f9894e6
commit 9cf44a0229
4 changed files with 23 additions and 5 deletions

View File

@@ -954,7 +954,7 @@ Hides the window.
#### `win.isVisible()`
Returns `boolean` - Whether the window is visible to the user.
Returns `boolean` - Whether the window is visible to the user in the foreground of the app.
#### `win.isModal()`