fix(player): refine immersive lyrics and seekbars
Reuse the split lyrics renderer for full-screen timed fill, add a contrast shadow and expose the immersive song card there. Render the compact seekbar as a stable three-sine motif and make the larger waveform use normalized rounded capsules with stronger peaks. cx
This commit is contained in:
6 files changed
+172
-53
No files matched your search
@@ -45,8 +45,7 @@ Rectangle {
|
||||
color: ambientOn ? theme.surfaceCardA50 : theme.surfaceCard
|
||||
readonly property bool ambientOn: theme.ambientOn
|
||||
readonly property bool waveformVisible: QbzShell.seekbarWaveform
|
||||
&& QbzPlayer.npSeekWaveformAnalyzed > 0
|
||||
&& QbzPlayer.npSeekWaveform.length > 0
|
||||
&& QbzPlayer.npHasTrack
|
||||
|
||||
|
||||
QbzTheme { id: theme }
|
||||
@@ -219,7 +218,7 @@ Rectangle {
|
||||
Rectangle {
|
||||
id: seekTrack
|
||||
width: parent.width
|
||||
height: root.waveformVisible ? 11 : 3
|
||||
height: root.waveformVisible ? 13 : 3
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
radius: 2
|
||||
color: root.waveformVisible ? "transparent" : theme.surfaceElevated
|
||||
|
||||
Reference in new issue
Block a user