Commit 7fcf36d6 authored by Marco Martin's avatar Marco Martin Committed by Nate Graham
Browse files

effects/overview: hide panels

This makes it consistent with WindowView (and the panel window doesn't respond
to input anyways even if shown, which is misleading).

BUG: 444274
FIXED-IN: 5.24.6


(cherry picked from commit db2af550)
parent e2d05154
Pipeline #175730 passed with stage
in 20 minutes and 14 seconds
......@@ -70,16 +70,8 @@ FocusScope {
}
}
ExpoArea {
id: heapArea
screen: targetScreen
}
Column {
x: heapArea.x
y: heapArea.y
width: heapArea.width
height: heapArea.height
anchors.fill: parent
Item {
id: topBar
......@@ -176,15 +168,19 @@ FocusScope {
KWinComponents.WindowThumbnailItem {
id: windowThumbnail
visible: !model.client.hidden
visible: !model.client.hidden && opacity > 0
wId: model.client.internalId
x: model.client.x - targetScreen.geometry.x
y: model.client.y - targetScreen.geometry.y
width: model.client.width
height: model.client.height
opacity: container.effect.gestureInProgress
? 1 - container.effect.partialActivationFactor
: (model.client.hidden || container.organized) ? 0 : 1
TapHandler {
onTapped: effect.deactivate();
Behavior on opacity {
enabled: !container.effect.gestureInProgress
NumberAnimation { duration: animationDuration; easing.type: Easing.OutCubic }
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment