1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

bar: don't apply opacity to sth color

- legacy thing that already has it
This commit is contained in:
bbedward
2025-11-22 16:15:07 -05:00
parent a3a27e07fa
commit 89298fce30
5 changed files with 17 additions and 0 deletions

View File

@@ -634,6 +634,11 @@ Singleton {
property real notepadTransparency: SettingsData.notepadTransparencyOverride >= 0 ? SettingsData.notepadTransparencyOverride : popupTransparency
property bool widgetBackgroundHasAlpha: {
const colorMode = typeof SettingsData !== "undefined" ? SettingsData.widgetBackgroundColor : "sch"
return colorMode === "sth"
}
property var widgetBaseBackgroundColor: {
const colorMode = typeof SettingsData !== "undefined" ? SettingsData.widgetBackgroundColor : "sch"
switch (colorMode) {