From 94c5d73a6103ab76183c670adbd069ad8511c0b7 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Sun, 14 Sep 2025 22:46:40 -0400 Subject: [PATCH] NPill: fix icon bg hover color --- 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 ea7885e..6d5ccff 100644 --- a/Widgets/NPillHorizontal.qml +++ b/Widgets/NPillHorizontal.qml @@ -118,7 +118,7 @@ Item { NIcon { icon: root.icon font.pointSize: Style.fontSizeM * scaling - color: hovered && !forceOpen ? Color.mOnTertiary : Color.mOnSurface + color: hovered ? Color.mOnTertiary : Color.mOnSurface // Center horizontally x: (iconCircle.width - width) / 2 // Center vertically accounting for font metrics diff --git a/Widgets/NPillVertical.qml b/Widgets/NPillVertical.qml index 4babba0..d718a6b 100644 --- a/Widgets/NPillVertical.qml +++ b/Widgets/NPillVertical.qml @@ -141,7 +141,7 @@ Item { NIcon { icon: root.icon font.pointSize: Style.fontSizeM * scaling - color: hovered && !forceOpen ? Color.mOnTertiary : Color.mOnSurface + color: hovered ? Color.mOnTertiary : Color.mOnSurface // Center horizontally x: (iconCircle.width - width) / 2 // Center vertically accounting for font metrics