From 383b054e5cde8b6b6846dfb049322910b9db3ae3 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 9 Sep 2022 10:06:07 +0300 Subject: [PATCH] effects: Stop highlighting WindowHeapDelegate when the effect is deactivated It makes the deactivation animation look less weird when activating a window in the overview effect using keyboard. --- src/effects/private/qml/WindowHeapDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/private/qml/WindowHeapDelegate.qml b/src/effects/private/qml/WindowHeapDelegate.qml index a55a54c66f..3b67091092 100644 --- a/src/effects/private/qml/WindowHeapDelegate.qml +++ b/src/effects/private/qml/WindowHeapDelegate.qml @@ -292,7 +292,7 @@ Item { imagePath: "widgets/viewitem" prefix: "hover" z: -1 - visible: !thumb.windowHeap.dragActive && (hoverHandler.hovered || selected) && Window.window.activeFocusItem + visible: !thumb.windowHeap.dragActive && (hoverHandler.hovered || selected) && Window.window.activeFocusItem && windowHeap.effectiveOrganized } HoverHandler {