You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The inconsistency above can been fixed in canvas for icons which are have no semi-transparency by separately applying the full color, followed by the alpha as global alpha. There is however an additional inconsistency with semi-transparent icons, even when tinted with fully opaque colors. For example an icon with alpha increasing from top to bottom and grayscale color increasing from left to right, tinted red, canvas above, WebGL below:
Describe the bug
Alpha in
icon-color
has a different effect in canvas and WebGL.To Reproduce
Compare applying an icon-color of
#ff000040
in WebGL (left) and canvas (right)In WebGL the alpha affects the icon opacity, in canvas it does not and merely tints the icon with a semi-opaque color.
Expected behavior
Same behavior in canvas and WebGL Should a transparent "tint" make an icon transparent or have no effect?
The text was updated successfully, but these errors were encountered: