artursapek / mondrian

Web-based vector graphics editor
MIT License
1.24k stars 104 forks source link

Needs a way to restrict angles #19

Open waldyrious opened 10 years ago

waldyrious commented 10 years ago

The Shift or Control keys should restrict angles (e.g. using the line tool, or the rotate tool) to increments of 15º (or 30º plus the 45º multiples)

artursapek commented 10 years ago

:+1:. This behavior exists for dragging with the cursor tool (hold down shift while dragging a shape), but not for any of the drawing tools. The pen tool also used to support it, but it seems I removed it at some point.