mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53: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 {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue