Skip to content

Commit

Permalink
check strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
audionerd committed Oct 29, 2018
1 parent 22a0301 commit d4ff3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/window/storyboarder-sketch-pane.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class StoryboarderSketchPane extends EventEmitter {
}

cutToClipboard () {
if (this.strategy.marqueePath) {
if (this.strategy instanceof MarqueeStrategy && this.strategy.marqueePath) {
this.copyToClipboard()
this.sketchPane.selectedArea.erase(this.visibleLayersIndices)
}
Expand Down

0 comments on commit d4ff3f6

Please sign in to comment.