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
When there is ctx.translate applied, shadows don't follow it correctly. It seems as if the offset for shadows is translating once more from the current ctx position, instead of using the same.
Here's the small reproducible test case which doesn't work correctly (tested with latest version and versions down to 0.1.48):
When there is
ctx.translate
applied, shadows don't follow it correctly. It seems as if the offset for shadows is translating once more from the current ctx position, instead of using the same.Here's the small reproducible test case which doesn't work correctly (tested with latest version and versions down to 0.1.48):
Here's the output:
And here's how it's rendered by the browser canvas and what is expected:
If instead we change the code not to translate, it will work as expected:
The text was updated successfully, but these errors were encountered: