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
|
@ -1192,6 +1192,9 @@ void NativeWindowMac::SetContentSizeConstraints(
|
|||
NativeWindow::SetContentSizeConstraints(size_constraints);
|
||||
}
|
||||
|
||||
void NativeWindowMac::MoveTop(){
|
||||
[window_ orderWindow:NSWindowAbove relativeTo:0];
|
||||
}
|
||||
void NativeWindowMac::SetResizable(bool resizable) {
|
||||
SetStyleMask(resizable, NSResizableWindowMask);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue