Closed wtcodeai closed 3 years ago
So, as you can read from topic, when i use vl-style icon
<vl-style-icon :src="${iconsPath}${icon}" :color="[255, 0, 0, 0.5]" :scale="scale" />
<vl-style-icon :src="
" :color="[255, 0, 0, 0.5]" :scale="scale" />
I always get icon colored with alpha equals 1
But with hex notation, as exmaple #ff8080 ( it's rgba(255, 0, 0, 0.5) in hex) and color="#ff8080" all works fine
color="#ff8080"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
So, as you can read from topic, when i use vl-style icon
<vl-style-icon :src="
${iconsPath}${icon}" :color="[255, 0, 0, 0.5]" :scale="scale" />
I always get icon colored with alpha equals 1
But with hex notation, as exmaple #ff8080 ( it's rgba(255, 0, 0, 0.5) in hex) and
color="#ff8080"
all works fine