From 5b8edfc1e29433b40bb1120043bc1b79010a6cc1 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 8 Aug 2025 19:32:38 +1000 Subject: internal: transparency support coming soon™ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also fix media player selector text colour Fix colour preview not resetting light/dark mode --- modules/drawers/Backgrounds.qml | 17 ++++++++--------- modules/drawers/Border.qml | 2 +- modules/drawers/Drawers.qml | 1 + 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'modules/drawers') diff --git a/modules/drawers/Backgrounds.qml b/modules/drawers/Backgrounds.qml index ff09232..e1773a1 100644 --- a/modules/drawers/Backgrounds.qml +++ b/modules/drawers/Backgrounds.qml @@ -20,45 +20,44 @@ Shape { anchors.margins: Config.border.thickness anchors.leftMargin: bar.implicitWidth preferredRendererType: Shape.CurveRenderer - opacity: Colours.transparency.enabled ? Colours.transparency.base : 1 Osd.Background { - wrapper: panels.osd + wrapper: root.panels.osd - startX: root.width - panels.session.width + startX: root.width - root.panels.session.width startY: (root.height - wrapper.height) / 2 - rounding } Notifications.Background { - wrapper: panels.notifications + wrapper: root.panels.notifications startX: root.width startY: 0 } Session.Background { - wrapper: panels.session + wrapper: root.panels.session startX: root.width startY: (root.height - wrapper.height) / 2 - rounding } Launcher.Background { - wrapper: panels.launcher + wrapper: root.panels.launcher startX: (root.width - wrapper.width) / 2 - rounding startY: root.height } Dashboard.Background { - wrapper: panels.dashboard + wrapper: root.panels.dashboard startX: (root.width - wrapper.width) / 2 - rounding startY: 0 } BarPopouts.Background { - wrapper: panels.popouts + wrapper: root.panels.popouts invertBottomRounding: wrapper.y + wrapper.height + 1 >= root.height startX: wrapper.x @@ -66,7 +65,7 @@ Shape { } Utilities.Background { - wrapper: panels.utilities + wrapper: root.panels.utilities startX: root.width startY: root.height diff --git a/modules/drawers/Border.qml b/modules/drawers/Border.qml index b7cb374..6fdd73b 100644 --- a/modules/drawers/Border.qml +++ b/modules/drawers/Border.qml @@ -15,7 +15,7 @@ Item { StyledRect { anchors.fill: parent - color: Colours.alpha(Colours.palette.m3surface, false) + color: Colours.palette.m3surface layer.enabled: true layer.effect: MultiEffect { diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml index 8b043a1..26f177c 100644 --- a/modules/drawers/Drawers.qml +++ b/modules/drawers/Drawers.qml @@ -88,6 +88,7 @@ Variants { Item { anchors.fill: parent + opacity: Colours.transparency.enabled ? Colours.transparency.base : 1 layer.enabled: true layer.effect: MultiEffect { shadowEnabled: true -- cgit v1.2.3-freya