NPills: keep hover even when force open, as there are actions available on clicks.

This commit is contained in:
LemmyCook 2025-09-14 18:21:24 -04:00
parent 00459606ce
commit 5ce5659b38
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ Item {
width: iconSize
height: iconSize
radius: width * 0.5
color: hovered && !forceOpen ? Color.mTertiary : Color.mSurfaceVariant
color: hovered ? Color.mTertiary : Color.mSurfaceVariant
anchors.verticalCenter: parent.verticalCenter
x: rightOpen ? 0 : (parent.width - width)

View file

@ -125,7 +125,7 @@ Item {
width: iconSize
height: iconSize
radius: width * 0.5
color: hovered && !forceOpen ? Color.mTertiary : Color.mSurfaceVariant
color: hovered ? Color.mTertiary : Color.mSurfaceVariant
// Icon positioning based on direction
x: 0