Better avgColor
This commit is contained in:
parent
17f35174ea
commit
5eec896615
3 changed files with 3 additions and 5 deletions
|
|
@ -121,7 +121,7 @@ export default Vue.extend({
|
|||
if (this.file.properties.avgColor) {
|
||||
anime({
|
||||
targets: this.$refs.thumbnail,
|
||||
backgroundColor: this.file.properties.avgColor.replace('255)', '0)'),
|
||||
backgroundColor: 'transparent', // TODO fade
|
||||
duration: 100,
|
||||
easing: 'linear'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue