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

Shrinking a WebImage with setSize ignores anchor #143

Open
anderoonies opened this issue Apr 12, 2022 · 0 comments · May be fixed by #144
Open

Shrinking a WebImage with setSize ignores anchor #143

anderoonies opened this issue Apr 12, 2022 · 0 comments · May be fixed by #144

Comments

@anderoonies
Copy link
Contributor

Describe the bug
When a WebImage is shrunk with setSize, it anchors to the top left corner of its bounds, rather than maintaining its anchor.

To Reproduce
Steps to reproduce the behavior:
https://codehs.com/sandbox/ryan/javascript-graphics

Expected behavior
The anchor should remain when the WebImage shrinks

@anderoonies anderoonies linked a pull request Apr 13, 2022 that will close this issue
3 tasks
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 a pull request may close this issue.

1 participant