mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-03 00:25:25 +08:00
update
This commit is contained in:
@ -11,7 +11,7 @@ Popup {
|
||||
parent: Overlay.overlay
|
||||
x: Math.round((d.parentWidth - width) / 2)
|
||||
y: Math.round((d.parentHeight - height) / 2)
|
||||
closePolicy: Popup.CloseOnEscape
|
||||
closePolicy: Popup.NoAutoClose
|
||||
enter: Transition {
|
||||
NumberAnimation {
|
||||
property: "opacity"
|
||||
|
@ -65,7 +65,7 @@ Window {
|
||||
Component.onCompleted: {
|
||||
FluRouter.addWindow(window)
|
||||
useSystemAppBar = FluApp.useSystemAppBar
|
||||
if(useSystemAppBar && autoCenter){
|
||||
if(!useSystemAppBar && autoCenter){
|
||||
moveWindowToDesktopCenter()
|
||||
}
|
||||
fixWindowSize()
|
||||
|
@ -11,7 +11,7 @@ Popup {
|
||||
parent: Overlay.overlay
|
||||
x: Math.round((d.parentWidth - width) / 2)
|
||||
y: Math.round((d.parentHeight - height) / 2)
|
||||
closePolicy: Popup.CloseOnEscape
|
||||
closePolicy: Popup.NoAutoClose
|
||||
enter: Transition {
|
||||
NumberAnimation {
|
||||
property: "opacity"
|
||||
|
@ -64,7 +64,7 @@ Window {
|
||||
Component.onCompleted: {
|
||||
FluRouter.addWindow(window)
|
||||
useSystemAppBar = FluApp.useSystemAppBar
|
||||
if(useSystemAppBar && autoCenter){
|
||||
if(!useSystemAppBar && autoCenter){
|
||||
moveWindowToDesktopCenter()
|
||||
}
|
||||
fixWindowSize()
|
||||
|
Reference in New Issue
Block a user