Closed lelikflegma closed 4 years ago
I think, having a property to disable this feature will be the ideal solution for this. But for the time being, you can use a CSS workaround. Note the usage of !important
.vue-file-agent .file-category-video-playable .file-preview,
.vue-file-agent .file-preview-wrapper-image .file-preview {
background: transparent !important;
}
Yes it works like that, thanks. But having property will be better.
Yes, with the property, the operation to calculate the average color can be avoided too.
Instead of transparent
background you can try other colors like white
and black
too.
Hi. Currently, when I upload image, preview background-color is calculated and settled like average color of uploaded image. So, for original PNG, with transparent body I got :
I found in html this :
When i comment style, i got this :
For remove gray backround i can override css property "background" in :
and for remove grid :
But how can I remove setting "average" color background ?
In source code i found function :
And property imageColor :