feat: Improve hidemode logic for ActiveWindow and MediaMini widgets

This commit is contained in:
loner
2025-10-12 06:27:50 +08:00
parent f843086603
commit 4ed3dad69d
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ Item {
// Fixed width - no expansion
readonly property real widgetWidth: Math.max(145, screen.width * 0.06)
readonly property bool hasActivePlayer: MediaService.currentPlayer !== null && getTitle() !== ""
readonly property bool hasActivePlayer: MediaService.currentPlayer !== null
readonly property string placeholderText: I18n.tr("bar.widget-settings.media-mini.no-active-player")
readonly property string tooltipText: {