Kostis

Results 3 comments of Kostis

I found a workaround that creates a new path and add the segments from the existing(source) path. `function pasteSelection() { if (clipboard == null) return; ``` deselectAll(); var items =...

And a better one: function pasteSelection() { if (clipboard == null) return; ``` deselectAll(); var items = []; for (var i = 0; i < clipboard.length; i++) { var content...

It is weird that the following didn't work: ``` var cloned = new paper.Path(); cloned = items[i].clone(); ``` and avoid the properties assignment.