mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-26 21:37:04 +08:00
fix bug #361
This commit is contained in:
parent
9a48880e84
commit
95a6be3d28
@ -304,8 +304,7 @@ Window {
|
||||
return lifecycle.createRegister(window,path)
|
||||
}
|
||||
function moveWindowToDesktopCenter(){
|
||||
window.x = (Screen.desktopAvailableWidth - window.width)/2
|
||||
window.y = (Screen.desktopAvailableHeight - window.height)/2
|
||||
return framless_helper.moveWindowToDesktopCenter()
|
||||
}
|
||||
function onResult(data){
|
||||
if(_pageRegister){
|
||||
|
@ -303,8 +303,7 @@ Window {
|
||||
return lifecycle.createRegister(window,path)
|
||||
}
|
||||
function moveWindowToDesktopCenter(){
|
||||
window.x = (Screen.desktopAvailableWidth - window.width)/2
|
||||
window.y = (Screen.desktopAvailableHeight - window.height)/2
|
||||
return framless_helper.moveWindowToDesktopCenter()
|
||||
}
|
||||
function onResult(data){
|
||||
if(_pageRegister){
|
||||
|
Loading…
Reference in New Issue
Block a user