mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-12 05:58:30 +03:00
animate dragging applets only on ViewParallelAxis
This commit is contained in:
parent
2aff2da949
commit
4dd93f3ba8
@ -183,11 +183,20 @@ Item {
|
||||
movingForResize = false;
|
||||
return;
|
||||
}
|
||||
translation.x = oldX - x
|
||||
translation.y = oldY - y
|
||||
translAnim.running = true
|
||||
oldX = x
|
||||
oldY = y
|
||||
|
||||
if (!root.isVertical) {
|
||||
translation.x = oldX - x;
|
||||
} else {
|
||||
translation.y = oldY - y;
|
||||
}
|
||||
|
||||
translAnim.running = true;
|
||||
|
||||
if (!root.isVertical) {
|
||||
oldX = x;
|
||||
} else {
|
||||
oldY = y;
|
||||
}
|
||||
}
|
||||
|
||||
transform: Translate {
|
||||
|
Loading…
x
Reference in New Issue
Block a user