Copy and paste layers MVP (#220)

* Initial implementation of copy and paste for layers

* Sort layers on copy and add tests

* Fix logger init for test

* Fix `copy_paste_deleted_layers` test

* Readd erroneously removed svg

* Make Layer serializable and cleanup

* Add test for copy and pasting folders

* Cleanup

* Rename left_mouseup

* Cleanup

* Add length check to test

* Fix typo

* Make mouseup, mousedown more consistent
This commit is contained in:
Till Arnold
2021-07-05 00:34:47 +02:00
committed by Keavon Chambers
parent 1d2bb6fb2b
commit 94c42ff5d7
17 changed files with 570 additions and 34 deletions
+3 -2
View File
@@ -10,6 +10,7 @@ license = "Apache-2.0"
[dependencies]
log = "0.4"
kurbo = "0.8"
kurbo = {version="0.8", features = ["serde"]}
serde = { version = "1.0", features = ["derive"] }
glam = "0.16"
glam = { version = "0.16", features = ["serde"] }