mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
SimpleToast: follow notification transparency
This commit is contained in:
@@ -31,7 +31,7 @@ Item {
|
||||
anchors.fill: parent
|
||||
anchors.margins: Style.marginM
|
||||
radius: Style.radiusL
|
||||
color: Qt.alpha(Color.mSurface, Settings.data.osd.backgroundOpacity || 1.0)
|
||||
color: Qt.alpha(Color.mSurface, Settings.data.notifications.backgroundOpacity || 1.0)
|
||||
|
||||
// Colored border based on type
|
||||
border.width: Math.max(2, Style.borderM)
|
||||
@@ -48,7 +48,7 @@ Item {
|
||||
baseColor = Color.mOutline;
|
||||
break;
|
||||
}
|
||||
return Qt.alpha(baseColor, Settings.data.osd.backgroundOpacity || 1.0)
|
||||
return Qt.alpha(baseColor, Settings.data.notifications.backgroundOpacity || 1.0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user