Verified Commit f6a4e4b7 authored by Agate's avatar Agate 💬

Now reset player colors when track has no coverNow reset player colors when track has no cover

parent 9a69a8f5
Pipeline #412 passed with stage
in 2 minutes and 2 seconds
...@@ -5,6 +5,7 @@ Changelog ...@@ -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 { ...@@ -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
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment