Skip to content

preserveAspectRatio works in the renderer but not the paint editor #6004

@fsih

Description

@fsih

Expected Behavior

Paint editor and what's on stage should be the same

Actual Behavior

the preserveAspectRatio attribute is respected in render but not paint
https://scratch.mit.edu/projects/412099417/editor/
Screen Shot 2020-07-16 at 17 36 17

Steps to Reproduce

Upload the same svg twice, one with preserveAspectRatio="none" in the tag attributes, and one with preserveAspectRatio="xMidYMin slice" in the svg tag attributes. In order to create stretching, change the width and height attributes to something else.

Operating System and Browser

Mac Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions