Skip to content

Commit

Permalink
always paste even when not moved
Browse files Browse the repository at this point in the history
  • Loading branch information
audionerd committed Oct 29, 2018
1 parent 04d5870 commit 5b47a29
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/js/window/storyboarder-sketch-pane/marquee-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 5b47a29

Please sign in to comment.