Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions panels/dock/taskmanager/package/TaskManager.qml
Original file line number Diff line number Diff line change
Expand Up @@ -143,26 +143,36 @@ ContainmentItem {
// kept for debug purpose
// border.color: "red"
// border.width: 1
id: appItemRect
color: "transparent"
parent: appContainer
x: delegateRoot.x
y: delegateRoot.y
width: delegateRoot.width
height: delegateRoot.height
scale: delegateRoot.scale
property bool positionAnimationEnabled: false
Behavior on x {
enabled: appItemRect.positionAnimationEnabled
NumberAnimation {
duration: 200
easing.type: Easing.OutCubic
}
}
Behavior on y {
enabled: appItemRect.positionAnimationEnabled
NumberAnimation {
duration: 200
easing.type: Easing.OutCubic
}
}

Component.onCompleted: {
Qt.callLater(function() {
appItemRect.positionAnimationEnabled = true
})
}

AppItem {
id: appItem
anchors.fill: parent // This is mandatory for draggable item center in drop area
Expand Down
Loading