Skip to content

scaling an svg doesn't work correctly in Phaser.CANVAS mode #7212

@justincohan

Description

@justincohan

Version

  • Phaser Version: 3.90
  • Operating system: windows 11
  • Browser:

Description

When using Phaser.WEBGL the svg scales as expected. When using Phaser.CANVAS the svg seems to scale based on screen size?

Example Test Code

DEMO here. Phaseer.WEBGL works but Phaser.CANVAS doesn't scale correctly
https://phaser.io/sandbox/hB8SSj6y

Additional Information

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