Optims: replaced a bunch of Qt.rgba by Qt.alpha

This commit is contained in:
LemmyCook 2025-09-04 11:06:54 -04:00
parent 43bb3bdd0c
commit 7ed4c209fe
5 changed files with 12 additions and 16 deletions

View file

@ -68,9 +68,7 @@ Variants {
// Make the overview darker
Rectangle {
anchors.fill: parent
color: Settings.data.colorSchemes.darkMode ? Qt.rgba(Color.mSurface.r, Color.mSurface.g, Color.mSurface.b,
0.5) : Qt.rgba(Color.mOnSurface.r, Color.mOnSurface.g,
Color.mOnSurface.b, 0.5)
color: Settings.data.colorSchemes.darkMode ? Qt.alpha(Color.mSurface, Style.opacityMedium) : Qt.alpha(Color.mOnSurface, Style.opacityMedium)
}
}
}