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

This commit is contained in:
Shelley Vohr
2023-05-16 11:46:45 +02:00
committed by GitHub
parent 9bd9d312f8
commit e83197669c
4 changed files with 23 additions and 5 deletions

View File

@@ -667,7 +667,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()`