1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

systemtray: use Theme radius for menu options

fixes #1331
This commit is contained in:
bbedward
2026-01-11 14:03:23 -05:00
parent 3c38e17472
commit 7027bd1646

View File

@@ -1208,7 +1208,7 @@ Item {
visible: entryStack.count === 0
width: parent.width
height: 28
radius: 0
radius: Theme.cornerRadius
color: visibilityToggleArea.containsMouse ? Theme.widgetBaseHoverColor : Theme.withAlpha(Theme.surfaceContainer, 0)
StyledText {
@@ -1261,7 +1261,7 @@ Item {
visible: entryStack.count > 0
width: parent.width
height: 28
radius: 0
radius: Theme.cornerRadius
color: backArea.containsMouse ? Theme.widgetBaseHoverColor : Theme.withAlpha(Theme.surfaceContainer, 0)
Row {
@@ -1309,11 +1309,10 @@ Item {
width: menuColumn.width
height: menuEntry?.isSeparator ? 1 : 28
radius: 0
radius: menuEntry?.isSeparator ? 0 : Theme.cornerRadius
color: {
if (menuEntry?.isSeparator) {
if (menuEntry?.isSeparator)
return Qt.rgba(Theme.outline.r, Theme.outline.g, Theme.outline.b, 0.2);
}
return itemArea.containsMouse ? Theme.widgetBaseHoverColor : Theme.withAlpha(Theme.surfaceContainer, 0);
}