add moveTop API to move window z-oder to top for win32, mac (#12485)
* add moveTop API to move window z-oder to top for win32, mac * BrowserWindow::MoveTop SetMethod bug fix
This commit is contained in:
parent
9d570dc645
commit
200388ff96
8 changed files with 36 additions and 1 deletions
|
@ -1007,6 +1007,10 @@ can not be focused on.
|
|||
|
||||
Returns `Boolean` - Whether the window is always on top of other windows.
|
||||
|
||||
#### `win.moveTop()` _macOS_ _Windows_
|
||||
|
||||
Moves window to top(z-order) regardless of focus
|
||||
|
||||
#### `win.center()`
|
||||
|
||||
Moves window to the center of the screen.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue