Skip to content

Commit

Permalink
clear state if selection doesn't exists
Browse files Browse the repository at this point in the history
  • Loading branch information
skyway777 committed Jan 30, 2019
1 parent cc531f1 commit fc1692b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/SelectionRenderLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class SelectionRenderLayer extends BaseRenderLayer {

// Selection does not exist
if (!start || !end) {
this._clearState();
return;
}

Expand Down

0 comments on commit fc1692b

Please sign in to comment.