Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.6.7 Extrusion bug #65

Open
JoakimCh opened this issue Sep 12, 2021 · 0 comments
Open

0.6.7 Extrusion bug #65

JoakimCh opened this issue Sep 12, 2021 · 0 comments

Comments

@JoakimCh
Copy link

When extruding by x amount of pixels only the pixels at the edge should be repeated this many times. This is not the case, a red box with a blue outline (for example) will mix both blue and red in the extruded pixels.

This happens because ctx.imageSmoothingEnabled is true by default and needs to be set to false before doing the extrusion. This was previously fixed but sadly is broken again in 4ba6465... Undo the changes in this commit inside the renderExtrude function to fix the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant