Fixed bar opacity color calculation, was missing the red component

This commit is contained in:
quadbyte 2025-08-18 09:46:40 -04:00
parent ea72d7675e
commit f657eaff32
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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
} }