WindowHeap: Hide window icon and label when excluded

This makes the opening animation of Window View from task manager less rigid.
This commit is contained in:
Fushan Wen 2022-04-22 21:37:02 +08:00 committed by Merge Service
parent 99761901ee
commit 2e7364ddde

View file

@ -140,6 +140,7 @@ FocusScope {
verticalAlignment: Text.AlignVCenter
text: i18nd("kwin_effects", "Drag Down To Close")
opacity: 1 - thumbSource.opacity
visible: !thumb.hidden
}
PlasmaCore.IconItem {
@ -150,7 +151,7 @@ FocusScope {
anchors.horizontalCenter: thumbSource.horizontalCenter
anchors.bottom: thumbSource.bottom
anchors.bottomMargin: -height / 4
visible: !activeDragHandler.active
visible: !thumb.hidden && !activeDragHandler.active
PC3.Label {