Skip to content

snapToPixel cannot be set on a category basis. #749

Open
@gskinner

Description

@gskinner

When we rewrote our class model, we changed from defining properties on the prototype to defining them in the constructor. This offered a fairly significant performance improvement, and is in-line with ES6 approaches. However, it means that you can no longer change the snapToPixel default for a class by doing something like: createjs.Container.snapToPixel = false;

This would still be useful functionality. We should explore how to add this back in.

Also, the documentation is incorrect on this functionality.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions