From 9bb9e7e0155d35d9d2edf8a5a7d5e08acef2e500 Mon Sep 17 00:00:00 2001 From: quadbyte Date: Sun, 17 Aug 2025 15:27:14 -0400 Subject: [PATCH] TrayMenu: fix invalid (black) color for disabled menu entries --- Modules/Bar/TrayMenu.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Bar/TrayMenu.qml b/Modules/Bar/TrayMenu.qml index 50c61c0b..2e5550a8 100644 --- a/Modules/Bar/TrayMenu.qml +++ b/Modules/Bar/TrayMenu.qml @@ -126,7 +126,7 @@ PopupWindow { id: text Layout.fillWidth: true color: (modelData?.enabled - ?? true) ? (mouseArea.containsMouse ? Color.mOnTertiary : Color.mOnSurface) : Color.textDisabled + ?? true) ? (mouseArea.containsMouse ? Color.mOnTertiary : Color.mOnSurface) : Color.applyOpacity(Color.mOnSurface, 64) text: modelData?.text ?? "" font.pointSize: Style.fontSizeSmall * scaling verticalAlignment: Text.AlignVCenter @@ -361,7 +361,7 @@ PopupWindow { NText { id: subText Layout.fillWidth: true - color: (modelData?.enabled ?? true) ? bg.hoverTextColor : Color.textDisabled + color: (modelData?.enabled ?? true) ? bg.hoverTextColor : Color.applyOpacity(Color.mOnSurface, 64) text: modelData?.text ?? "" font.pointSize: Style.fontSizeSmall * scaling verticalAlignment: Text.AlignVCenter