Fixed bar opacity color calculation, was missing the red component
This commit is contained in:
parent
ea72d7675e
commit
f657eaff32
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ NLoader {
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
|
||||||
// Visible color
|
// 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)
|
Settings.data.bar.backgroundOpacity)
|
||||||
// The amount subtracted from full size for the inner cutout
|
// The amount subtracted from full size for the inner cutout
|
||||||
// Inner size = full size - borderWidth (per axis)
|
// Inner size = full size - borderWidth (per axis)
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ Variants {
|
||||||
id: bar
|
id: bar
|
||||||
|
|
||||||
anchors.fill: parent
|
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
|
layer.enabled: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue