1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-09 00:58:15 +03:00

do not remove removal for tasks separators

This commit is contained in:
Michail Vourlakos 2021-05-19 21:00:51 +03:00
parent 01e60e0aab
commit cf2f3d551b

View File

@ -27,7 +27,7 @@ import org.kde.latte.core 0.2 as LatteCore
SequentialAnimation {
id: taskRealRemovalAnimation
PropertyAction { target: taskItem; property: "ListView.delayRemove"; value: true }
PropertyAction { target: taskItem; property: "ListView.delayRemove"; value: !taskItem.isSeparator } //try to delete separators instantly, this way maybe tasks model does not break when switching activities fastly
PropertyAction { target: taskItem; property: "inAnimation"; value: true }
PropertyAction { target: taskItem; property: "inAddRemoveAnimation"; value: true }
PropertyAction { target: taskItem; property: "inRemoveStage"; value: true }