MediaCard: AudioVisualizer should not be dependend on tracklength (ex: Twitch)
This commit is contained in:
parent
9d03006aaa
commit
1ceec16102
1 changed files with 3 additions and 3 deletions
|
|
@ -332,7 +332,7 @@ NBox {
|
||||||
}
|
}
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
active: Settings.data.audio.visualizerType == "linear" && MediaService.isPlaying && MediaService.trackLength > 0
|
active: Settings.data.audio.visualizerType == "linear" && MediaService.isPlaying
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
sourceComponent: LinearSpectrum {
|
sourceComponent: LinearSpectrum {
|
||||||
|
|
@ -345,7 +345,7 @@ NBox {
|
||||||
}
|
}
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
active: Settings.data.audio.visualizerType == "mirrored" && MediaService.isPlaying && MediaService.trackLength > 0
|
active: Settings.data.audio.visualizerType == "mirrored" && MediaService.isPlaying
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
sourceComponent: MirroredSpectrum {
|
sourceComponent: MirroredSpectrum {
|
||||||
|
|
@ -358,7 +358,7 @@ NBox {
|
||||||
}
|
}
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
active: Settings.data.audio.visualizerType == "wave" && MediaService.isPlaying && MediaService.trackLength > 0
|
active: Settings.data.audio.visualizerType == "wave" && MediaService.isPlaying
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
sourceComponent: WaveSpectrum {
|
sourceComponent: WaveSpectrum {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue