1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-15 10:12:07 -04:00

better hover effect

This commit is contained in:
bbedward
2025-09-01 20:24:42 -04:00
parent 5c9e9385e6
commit cb1b0550a2

View File

@@ -375,10 +375,9 @@ Rectangle {
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
anchors.margins: Theme.spacingS radius: parent.radius
height: 28
radius: Theme.cornerRadius / 2
color: closeMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.08) : "transparent" color: closeMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.08) : "transparent"
}
StyledText { StyledText {
anchors.centerIn: parent anchors.centerIn: parent
@@ -403,5 +402,4 @@ Rectangle {
} }
} }
} }
}
} }