OSD + Notification: Shadows cleanup

This commit is contained in:
ItsLemmy
2025-11-07 00:45:56 -05:00
parent cd630a4f47
commit 2c2d887ac6
2 changed files with 89 additions and 63 deletions
+4 -4
View File
@@ -125,9 +125,9 @@ Variants {
readonly property bool isRight: (location.indexOf("_right") >= 0) || (location === "right")
readonly property bool isCentered: (location === "top" || location === "bottom")
readonly property bool verticalMode: (location === "left" || location === "right")
readonly property int hWidth: Math.round(380 * Style.uiScaleRatio)
readonly property int hHeight: Math.round(64 * Style.uiScaleRatio)
readonly property int vWidth: Math.round(72 * Style.uiScaleRatio)
readonly property int hWidth: Math.round(420 * Style.uiScaleRatio)
readonly property int hHeight: Math.round(84 * Style.uiScaleRatio)
readonly property int vWidth: Math.round(92 * Style.uiScaleRatio)
readonly property int vHeight: Math.round(380 * Style.uiScaleRatio)
// Ensure an even width to keep the vertical bar perfectly centered
@@ -241,7 +241,7 @@ Variants {
Rectangle {
id: background
anchors.fill: parent
anchors.margins: Style.marginS * 2
anchors.margins: Style.marginM * 2
radius: Style.radiusL
color: Color.mSurface
border.color: Color.mOutline