Skip to content

NONE Scaling Mode #77

@Dunnings

Description

@Dunnings

Is your feature request related to a problem? Please describe.
Currently when handling canvas scaling myself, there is no clean way to disable automatic scaling by BlackEngine.

Describe the solution you'd like
Add a new ScaleMode called StageScaleMode.NONE. This would perform no action in the refresh function here:

if (this.mScaleMode === StageScaleMode.FIXED) {

Describe alternatives you've considered
The only alternative atm is to set the scale mode to something not supported and live with the constant console error messages.

engine.stage.scaleMode = 'NONE';

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