mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-05 22:06:23 +00:00
Fixed bar opacity color calculation, was missing the red component
This commit is contained in:
@@ -20,7 +20,7 @@ NLoader {
|
||||
screen: modelData
|
||||
|
||||
// Visible color
|
||||
property color ringColor: Qt.rgba(Color.mSurface, Color.mSurface.g, Color.mSurface.b,
|
||||
property color ringColor: Qt.rgba(Color.mSurface.r, Color.mSurface.g, Color.mSurface.b,
|
||||
Settings.data.bar.backgroundOpacity)
|
||||
// The amount subtracted from full size for the inner cutout
|
||||
// Inner size = full size - borderWidth (per axis)
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ Variants {
|
||||
id: bar
|
||||
|
||||
anchors.fill: parent
|
||||
color: Qt.rgba(Color.mSurface, Color.mSurface.g, Color.mSurface.b, Settings.data.bar.backgroundOpacity)
|
||||
color: Qt.rgba(Color.mSurface.r, Color.mSurface.g, Color.mSurface.b, Settings.data.bar.backgroundOpacity)
|
||||
layer.enabled: true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user