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

Fixes for WebImage downsizing and add imageSmoothing #144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anderoonies
Copy link
Contributor

Resolves #143

Summary

There was an issue with downsizing a WebImage where the hidden canvas used for drawing the image was being resized. No idea why I was doing that in the first place, probably just trying to be clever.

Changes:

  • Fix WebImage downscaling
  • Add imageSmoothingEnabled boolean to WebImage
  • imageSmoothingEnabled example

Checklist

  • npm test passes
  • Unit tests are included / updated
  • Documentation has been updated where relevant

@ghost
Copy link

ghost commented Sep 15, 2022

Looks good

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

Successfully merging this pull request may close these issues.

Shrinking a WebImage with setSize ignores anchor
1 participant