1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-21 10:50:30 +03:00

animate iconMargin when changes

This commit is contained in:
Michail Vourlakos 2018-02-18 17:26:18 +02:00
parent 05e08e57c5
commit 3a2b0f7fd6

View File

@ -388,10 +388,17 @@ DragDrop.DropArea {
////////////////END properties
//// BEGIN OF Behaviors
Behavior on iconMargin {
NumberAnimation {
duration: 0.8 * root.animationTime
easing.type: Easing.OutCubic
}
}
Behavior on iconSize {
enabled: !(root.editMode && root.behaveAsPlasmaPanel)
NumberAnimation {
duration: 200
duration: 0.8 * root.animationTime
onRunningChanged: {
if (!running) {