Now reset player colors when track has no coverNow reset player colors when track has no cover
This commit is contained in:
parent
9a69a8f581
commit
f6a4e4b7a3
|
@ -5,6 +5,7 @@ Changelog
|
||||||
0.5 (Unreleased)
|
0.5 (Unreleased)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
- Front: Now reset player colors when track has no cover (#46)
|
||||||
|
|
||||||
0.4 (2018-02-18)
|
0.4 (2018-02-18)
|
||||||
----------------
|
----------------
|
||||||
|
|
|
@ -232,7 +232,7 @@ export default {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
currentTrack (newValue) {
|
currentTrack (newValue) {
|
||||||
if (!newValue) {
|
if (!newValue || !newValue.album.cover) {
|
||||||
this.ambiantColors = this.defaultAmbiantColors
|
this.ambiantColors = this.defaultAmbiantColors
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue