mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-16 03:07:42 +00:00
homescreens/halcyon: Fix folder drop animation
This commit is contained in:
parent
51f558b4a3
commit
2c50d50440
1 changed files with 2 additions and 1 deletions
|
|
@ -85,7 +85,6 @@ MobileShell.GridView {
|
|||
|
||||
function moveDragToCurrentPos(from, to) {
|
||||
if (from !== to) {
|
||||
console.log(from + ' ' + to)
|
||||
visualModel.items.move(from, to);
|
||||
Halcyon.PinnedModel.moveEntry(from, to);
|
||||
}
|
||||
|
|
@ -193,6 +192,8 @@ MobileShell.GridView {
|
|||
} else {
|
||||
Halcyon.PinnedModel.createFolderFromApps(drop.source.visualIndex, appDelegate.visualIndex);
|
||||
}
|
||||
folderAnim.to = 0;
|
||||
folderAnim.restart();
|
||||
}
|
||||
|
||||
NumberAnimation {
|
||||
|
|
|
|||
Loading…
Reference in a new issue