fix popups positioning

This commit is contained in:
Jaquee
2017-08-20 22:23:22 +02:00
parent e324e160da
commit 4b871306e4
4 changed files with 8 additions and 16 deletions

View File

@@ -67,7 +67,7 @@ Rectangle {
function open() {
// Center
if(!isMobile) {
root.x = appWindow.width/2 - root.width/2
root.x = parent.width/2 - root.width/2
root.y = screenHeight/2 - root.height/2
}
show()