Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Add mouse rotate functionality #1

Open
2 tasks
DrSensor opened this issue Dec 20, 2017 · 0 comments
Open
2 tasks

Add mouse rotate functionality #1

DrSensor opened this issue Dec 20, 2017 · 0 comments
Labels

Comments

@DrSensor
Copy link
Owner

DrSensor commented Dec 20, 2017

Enter rotate and scale on drag mode when double click.

Reference: https://codepen.io/drsensor/pen/Vyjaao


Possible Implementation

  • Resize circle on rotation mode
let r = target.attr('r') + (event.deltaRect.width || event.deltaRect.height)
target.radius(r)
@issue-sh issue-sh bot added Icebox and removed Icebox labels Dec 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant