Skip to content

Shrinking a WebImage with setSize ignores anchor #143

@anderoonies

Description

@anderoonies

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions