Skip to content

Draginput control upside down for Y and Height properties#163

Description

@fdwr

馃憢just stumbled across you vector editor webpage today.

When I first grabbed the X coordinate draginput and moved it left and right, nothing changed (the SVG rect just wiggled a little), and then I realized it's tuned to vertical drags. So then grabbing the Y draginput, I was surprised to see the response inverted, where dragging up moved the box down, and down moved the box up 馃檭. Similarly for height, dragging up moved the rect bottom down, and up moved the rect buttom up.

Proposal: tailor the draginput controls for Y and Height fields with an "inverted" property to align cursor movement to object response. Optionally for X and Width properties, support mouse X to update the value.

Image

Activity

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

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