pixelass / react-mops

🐶 Modify Orientation Position Size
https://react-mops.netlify.com/
MIT License
44 stars 7 forks source link

Allow scale and rotate cursors without hotkey #3

Open 0x04 opened 5 years ago

0x04 commented 5 years ago

Currently you're just able to use the rotate cursor beside the scale cursor without pressing the rotate hotkey.

It would be nice if both would be possible without pressing a key. With the appropriate distance and direction to a handle you could display the scale or rotate cursor.

Possible Solutions

cursor_resize_scale

pixelass commented 5 years ago

This is under consideration. It makes sense to offer this feature but I'm not sure about the implementation yet.

Idea:

const App = () => (
    <Box isRotatable alwaysRotate>
        No need to use Meta to rotate me
    </Box>
);
pixelass commented 5 years ago

NOTE: the OP screencast was made with Adobe Illustrator

pixelass commented 5 years ago

This can be achieved with v2 hooks once released.