mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 23:17:51 -04:00
workspaces: keep the pill highlight while hovering its app icons
fixes #3839
(cherry picked from commit 112d05901f)
This commit is contained in:
1 parent
ff45b3b4b2
commit
4fa6f58720
1 file changed
+6
-1
@@ -375,7 +375,7 @@ BasePill {
|
||||
}
|
||||
property bool isOccupied: root.useNativeWorkspaces && CompositorService.workspaceOccupied(record)
|
||||
property bool isPlaceholder: !!(record && record.placeholder)
|
||||
property bool isHovered: mouseArea.containsMouse
|
||||
property bool isHovered: pillHover.hovered
|
||||
|
||||
property bool loadedIsUrgent: false
|
||||
property bool isUrgent: root.useNativeWorkspaces ? CompositorService.workspaceUrgent(record, loadedIsUrgent) : (modelData?.urgent ?? false)
|
||||
@@ -615,6 +615,11 @@ BasePill {
|
||||
}
|
||||
}
|
||||
|
||||
HoverHandler {
|
||||
id: pillHover
|
||||
enabled: !isPlaceholder
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in new issue
Block a user