From 5b47a297f01c7b6244d934c98221ab14cffb9576 Mon Sep 17 00:00:00 2001 From: Eric Skogen Date: Tue, 23 Oct 2018 17:23:53 -0500 Subject: [PATCH] always paste even when not moved --- src/js/window/storyboarder-sketch-pane/marquee-strategy.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/js/window/storyboarder-sketch-pane/marquee-strategy.js b/src/js/window/storyboarder-sketch-pane/marquee-strategy.js index 7678b01d2b..eb35b976b4 100644 --- a/src/js/window/storyboarder-sketch-pane/marquee-strategy.js +++ b/src/js/window/storyboarder-sketch-pane/marquee-strategy.js @@ -903,7 +903,12 @@ class OperationStrategy { commit () { this.state.done = true - if (this.state.moved) { + if ( + // have we moved the artwork at all? + this.state.moved || + // or, was it pasted, so we have to operate even if not moved? + this.state.commitOperation === 'paste' + ) { let indices = this.context.visibleLayersIndices if (this.state.commitOperation === 'move') {