From 5ce5659b3806b0e258f46734357c7883a8987e03 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Sun, 14 Sep 2025 18:21:24 -0400 Subject: [PATCH] NPills: keep hover even when force open, as there are actions available on clicks. --- Widgets/NPillHorizontal.qml | 2 +- Widgets/NPillVertical.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Widgets/NPillHorizontal.qml b/Widgets/NPillHorizontal.qml index 78aa49a..74cb915 100644 --- a/Widgets/NPillHorizontal.qml +++ b/Widgets/NPillHorizontal.qml @@ -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) diff --git a/Widgets/NPillVertical.qml b/Widgets/NPillVertical.qml index 9f93a74..71ab61f 100644 --- a/Widgets/NPillVertical.qml +++ b/Widgets/NPillVertical.qml @@ -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