1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-25 09:33:51 +03:00

hide indicator properly when task is removed

This commit is contained in:
Michail Vourlakos 2019-02-24 16:33:37 +02:00
parent 1965f7f9c0
commit b1865e2634
3 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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) {

View File

@ -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