1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

dankbar: fix widget hover effects

This commit is contained in:
bbedward
2025-10-25 11:57:56 -04:00
parent 42f9edf566
commit 7e75c9e510
19 changed files with 6 additions and 23 deletions

View File

@@ -10,6 +10,7 @@ BasePill {
property var widgetData: null
property string mountPath: (widgetData && widgetData.mountPath !== undefined) ? widgetData.mountPath : "/"
property bool isHovered: mouseArea.containsMouse
property var selectedMount: {
if (!DgopService.diskMounts || DgopService.diskMounts.length === 0) {
@@ -193,6 +194,7 @@ BasePill {
}
MouseArea {
id: mouseArea
z: 1
anchors.fill: parent
hoverEnabled: root.isVerticalOrientation