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:
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…
Reference in New Issue
Block a user