Update cursor color with the artwork accent
parent
9bf98c4c1b
commit
80e9fc2cbb
|
|
@ -59,6 +59,7 @@ export default {
|
|||
let img = this.$el.getElementsByTagName('img')[0]
|
||||
color(img.src, (_, color) => {
|
||||
this.wavesurfer.setProgressColor(`#${color}`)
|
||||
this.wavesurfer.setCursorColor(`#${color}`)
|
||||
})
|
||||
},
|
||||
play () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue