Skip to content

Why does scaling effect the "x", "y" #3

@demobiel

Description

@demobiel

Hi

first of all, this plugin seems very nice, but I don't understand what happens when you scale the object with the scale handlers.

It seems that inside the payload object returned by the update event the x and y attribute changes as well even if you use the right bottom handler.

It seems to me this should only be the case if the top corner changes it's position (as I understand that that is what "x" and "y" is.

I forked your example and added some logging: https://codesandbox.io/s/l49ryyjjom

Am I misunderstanding what is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions