diff --git a/Modules/Bar/Widgets/MediaMini.qml b/Modules/Bar/Widgets/MediaMini.qml index c49582fe..9193a8b3 100644 --- a/Modules/Bar/Widgets/MediaMini.qml +++ b/Modules/Bar/Widgets/MediaMini.qml @@ -397,6 +397,13 @@ Item { } } + // Property to track mPrimary color changes and trigger repaint + Item { + id: colorTrackerHorizontal + property color currentColor: Color.mPrimary + onCurrentColorChanged: progressCanvas.requestPaint() + } + // Album art or icon - only show album art when enabled and player is active Item { anchors.fill: parent @@ -675,6 +682,13 @@ Item { } } + // Property to track mPrimary color changes and trigger repaint for vertical canvas + Item { + id: colorTrackerVertical + property color currentColor: Color.mPrimary + onCurrentColorChanged: progressCanvasVertical.requestPaint() + } + // Mouse area for hover detection MouseArea { id: mouseArea