diff --git a/.zed/settings.json b/.zed/settings.json new file mode 100644 index 00000000..ce0e0856 --- /dev/null +++ b/.zed/settings.json @@ -0,0 +1,22 @@ +{ + "languages": { + "QML": { + "format_on_save": "on", + "formatter": { + "external": { + "command": "qmlfmt", + "arguments": [ + "-e", + "-b", + "360", + "-t", + "2", + "-i", + "2", + "{buffer_path}" + ] + } + } + } + } +} diff --git a/Modules/Bar/Widgets/MediaMini.qml b/Modules/Bar/Widgets/MediaMini.qml index 5fe8d42c..75fdfed9 100644 --- a/Modules/Bar/Widgets/MediaMini.qml +++ b/Modules/Bar/Widgets/MediaMini.qml @@ -208,7 +208,7 @@ Item { property bool isResetting: false property real textWidth: fullTitleMetrics.contentWidth property real containerWidth: 0 - property bool needsScrolling: textWidth > containerWidth + property bool needsScrolling: textWidth > containerWidth && MediaService.isPlaying // Timer for "always" mode with delay Timer {