mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-04 11:16:03 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user