fix(launcher): fix gradients and nbox colors

This commit is contained in:
Lemmy
2026-03-09 22:52:42 -04:00
parent 8450adfda8
commit 4a198b5464
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -697,7 +697,7 @@ Rectangle {
horizontalPolicy: ScrollBar.AlwaysOff
verticalPolicy: ScrollBar.AlwaysOff
reserveScrollbarSpace: false
gradientColor: Settings.data.ui.panelBackgroundOpacity < 1 ? "transparent" : Color.mSurfaceVariant
gradientColor: Settings.data.ui.panelBackgroundOpacity < 1 ? "transparent" : Color.mSurface
wheelScrollMultiplier: 4.0
width: parent.width
@@ -789,7 +789,7 @@ Rectangle {
horizontalPolicy: ScrollBar.AlwaysOff
verticalPolicy: ScrollBar.AlwaysOff
reserveScrollbarSpace: false
gradientColor: Settings.data.ui.panelBackgroundOpacity < 1 ? "transparent" : Color.mSurfaceVariant
gradientColor: Settings.data.ui.panelBackgroundOpacity < 1 ? "transparent" : Color.mSurface
wheelScrollMultiplier: 4.0
trackedSelectionIndex: root.selectedIndex
@@ -30,7 +30,7 @@ Item {
id: gridEntry
anchors.fill: parent
anchors.margins: Style.marginXXS
color: gridEntryContainer.isSelected ? Color.mHover : Color.mSurface
color: gridEntryContainer.isSelected ? Color.mHover : Color.mSurfaceVariant
forceOpaque: gridEntryContainer.isSelected
Behavior on color {
@@ -18,7 +18,7 @@ NBox {
width: ListView.view.width
implicitHeight: launcher.entryHeight
clip: true
color: entry.isSelected ? Color.mHover : Color.mSurface
color: entry.isSelected ? Color.mHover : Color.mSurfaceVariant
forceOpaque: entry.isSelected
// Prepare item when it becomes visible (e.g., decode images)