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:
parent
05e08e57c5
commit
3a2b0f7fd6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user