Add keyboard shortcut to duplicate layers (#214)

* Add keyboard shortcut to duplicate layers

* Avoid heap allocation in DuplicateSelectedLayers
This commit is contained in:
Till Arnold
2021-06-16 11:15:02 +02:00
committed by GitHub
parent cd1ac3817d
commit 322526b983
5 changed files with 20 additions and 1 deletions
+3
View File
@@ -60,6 +60,9 @@ pub enum Operation {
DeleteLayer {
path: Vec<LayerId>,
},
DuplicateLayer {
path: Vec<LayerId>,
},
AddFolder {
path: Vec<LayerId>,
},