better anim

This commit is contained in:
Aaron Seigo 2014-09-29 16:49:24 +02:00
parent a22f8f70d6
commit e84aaa3e00

View file

@ -176,7 +176,7 @@ Item {
}
}
moveDisplaced: Transition {
removeDisplaced: Transition {
SequentialAnimation {
PauseAnimation { duration: 600 }
NumberAnimation { properties: "x,y"; duration: 100 }
@ -202,8 +202,10 @@ Item {
Component.onCompleted: {
//configure the view behavior
desktop.windowType = Shell.Desktop.Window;
desktop.width = width;
desktop.height = height;
if (desktop) {
desktop.windowType = Shell.Desktop.Window;
desktop.width = width;
desktop.height = height;
}
}
}