Layer snapping

* Test snapping

* Snap new shapes

* Fix snapping when zoomed

* Refactor to use viewport bounds

* Reduce snap tolerance to 3

* Snap line and path tool

* Add disable snapping and refactor

* new_snap -> new status

* Rearrange import

* Cleanup

* Fix incorrect variable name

* Store snap data in tool data
This commit is contained in:
0HyperCube
2021-11-24 16:50:58 +00:00
committed by Keavon Chambers
parent 26835d8d29
commit 0e33498b9b
13 changed files with 229 additions and 46 deletions
+1
View File
@@ -1,3 +1,4 @@
mod snapping;
pub mod tool_message_handler;
pub mod tool_options;
pub mod tools;