hide indicator properly when task is removed

pull/5/head
Michail Vourlakos 6 years ago
parent 1965f7f9c0
commit b1865e2634

@ -57,6 +57,7 @@ Loader{
readonly property bool isGroup: false
readonly property bool isMinimized: false
readonly property bool inAttention: false
readonly property bool inRemoving: false
readonly property bool hasActive: isActive
readonly property bool hasMinimized: false

@ -71,7 +71,7 @@ Item{
id:firstPoint
opacity: {
if (rootItem.isTask) {
return rootItem.isLauncher ? 0 : 1
return rootItem.isLauncher || (rootItem.inRemoving && !activeAndReverseAnimation.running) ? 0 : 1
}
if (rootItem.isApplet) {

@ -68,6 +68,7 @@ Loader {
readonly property bool isGroup: taskItem.isGroupParent
readonly property bool isMinimized: taskItem.isMinimized
readonly property bool inAttention: taskItem.inAttention
readonly property bool inRemoving: taskItem.inRemoveStage
readonly property bool hasActive: taskItem.hasActive
readonly property bool hasMinimized: taskItem.hasMinimized

Loading…
Cancel
Save