mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
better anim
This commit is contained in:
parent
a22f8f70d6
commit
e84aaa3e00
1 changed files with 6 additions and 4 deletions
|
|
@ -176,7 +176,7 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
moveDisplaced: Transition {
|
removeDisplaced: Transition {
|
||||||
SequentialAnimation {
|
SequentialAnimation {
|
||||||
PauseAnimation { duration: 600 }
|
PauseAnimation { duration: 600 }
|
||||||
NumberAnimation { properties: "x,y"; duration: 100 }
|
NumberAnimation { properties: "x,y"; duration: 100 }
|
||||||
|
|
@ -202,8 +202,10 @@ Item {
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
//configure the view behavior
|
//configure the view behavior
|
||||||
desktop.windowType = Shell.Desktop.Window;
|
if (desktop) {
|
||||||
desktop.width = width;
|
desktop.windowType = Shell.Desktop.Window;
|
||||||
desktop.height = height;
|
desktop.width = width;
|
||||||
|
desktop.height = height;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue