mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
bar: don't apply opacity to sth color
- legacy thing that already has it
This commit is contained in:
@@ -151,6 +151,9 @@ Item {
|
||||
}
|
||||
|
||||
const baseColor = Theme.widgetBaseBackgroundColor
|
||||
if (Theme.widgetBackgroundHasAlpha) {
|
||||
return baseColor
|
||||
}
|
||||
const transparency = (root.barConfig && root.barConfig.widgetTransparency !== undefined) ? root.barConfig.widgetTransparency : 1.0
|
||||
return Theme.withAlpha(baseColor, transparency)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user