Commit Graph
9 Commits
Author SHA1 Message Date
Henry Sloan 5edfa418d2 Enforce minimum number of n-gon sides 2021-07-20 18:23:00 -04:00
Henry Sloan 2fe1d60086 Add shape side selection with JSON deserialization 2021-07-20 18:18:56 -04:00
Henry Sloan 8ea6fd8d6a Merge branch 'master' into tool-settings 2021-07-20 01:24:02 -04:00
Henry Sloan 8e56a274fe Add initial tool settings messaging to backend 2021-07-20 00:52:27 -04:00
Henry Sloan 3203f7bcdf Add JSON-backed options widget 2021-07-18 12:06:57 -04:00
Henry Sloan 7a087ba71a Pass layer metadata to tools (#277) 2021-07-16 08:38:46 +02:00
Henry Sloan 7f1ad04a28 Transform nudge coordinates to viewport space (#264)
* Transform nudge coordinates to viewport space

* Refactor nudge transform for clarity
2021-07-14 23:05:46 -07:00
Henry Sloan 9d34aa4867 Implement fill tool (#254)
* Implement fill tool

* Add fill tool shortcut

* Add getters and setters to styles

* Make fill tool act on the topmost layer clicked

* Refactor fill operation

* Refactor and unify selection tolerance

* Add mark_as_dirty function

* Fix getter names
2021-07-14 00:49:12 -07:00
Henry Sloan 3fc7722d89 Implement nudging selected layers with arrow keys (#245)
* Implement nudging selected layers with arrow keys

* Normalize diagonal nudges and add constants

* Replace sqrt(2.0) with a constant

* Remove normalization of diagonal movement
2021-07-11 19:22:26 -07:00