fix(player): refine seekbar waveform rendering
Replace the continuous strip with symmetric gradient bars, periodic spacing, and a persistent centre rail. Use more of the available seekbar height while preserving played and cached clipping in the native scene graph.\n\ncx
This commit is contained in:
3 files changed
+101
-43
No files matched your search
@@ -323,7 +323,7 @@ Rectangle {
|
||||
anchors.right: parent.right
|
||||
anchors.leftMargin: (root.dockWidth > 0 ? root.dockWidth + 6 : 6) + (QbzPlayer.npHasTrack ? 46 : 0)
|
||||
anchors.rightMargin: 6 + (QbzPlayer.npHasTrack ? 46 : 0)
|
||||
height: root.waveformVisible ? 14 : 4
|
||||
height: root.waveformVisible ? 18 : 4
|
||||
radius: 2
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
color: root.waveformVisible ? "transparent" : theme.surfaceElevated
|
||||
|
||||
Reference in new issue
Block a user