Merge pull request #858 from lonerOrz/fix/progress

fix: Music progress ring color not updating on theme change when paused
This commit is contained in:
Lysec
2025-11-24 15:58:40 +01:00
committed by GitHub
+14
View File
@@ -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