diff --git a/src/effects/private/qml/WindowHeapDelegate.qml b/src/effects/private/qml/WindowHeapDelegate.qml index 6f6cc648d5..aed68ed66b 100644 --- a/src/effects/private/qml/WindowHeapDelegate.qml +++ b/src/effects/private/qml/WindowHeapDelegate.qml @@ -216,7 +216,9 @@ Item { y: (thumb.client.y - targetScreen.geometry.y - (thumb.windowHeap.absolutePositioning ? windowHeap.layout.Kirigami.ScenePosition.y : 0)) * (1 - effect.partialActivationFactor) + cell.y * effect.partialActivationFactor width: thumb.client.width * (1 - effect.partialActivationFactor) + cell.width * effect.partialActivationFactor height: thumb.client.height * (1 - effect.partialActivationFactor) + cell.height * effect.partialActivationFactor - opacity: thumb.initialHidden ? effect.partialActivationFactor : 1 + opacity: thumb.initialHidden + ? (thumb.activeHidden ? 0 : effect.partialActivationFactor) + : (thumb.activeHidden ? 1 - effect.partialActivationFactor : 1) } PropertyChanges { target: icon