Skip to content

No mouse interactions work with negative scaling #500

@matkovski

Description

@matkovski

I need to have the Y axis point upwards, and the only sensible way I found to do this is just to set negative scale to it.

viewport.scale = new Point(1, -1);

Apparently this needs to be done to viewport and not the app stage. This effectively rotates everything around the X axis, and my coordinate system is what I wanted. What is happening now though is that zooming, panning and all other mouse interactions stop working - I'm not getting any exceptions, there's simply no reaction to any mouse movements.

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