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:
MadfishDT 2018-04-03 22:04:32 +09:00 committed by Charles Kerr
parent 9d570dc645
commit 200388ff96
8 changed files with 36 additions and 1 deletions

View file

@ -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.