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.
This commit is contained in:
Vlad Zahorodnii 2022-09-09 10:06:07 +03:00
parent a7c8735f4f
commit 383b054e5c

View file

@ -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 {