Skip to content

failed to set transform and cannot reset #2437

Open

Description

after i set ctx.transform(0, 0, 0, 0.3, 0, 800), i cannot set transform or resetTransform.
the ctx.getTransform().toString() will always be matrix(1,0,0,1,0,0).

version 2.11.0

i guess it occurs when transform matrix.a === 0

the same code i run in browser canvas is correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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