Skip to content

Commit

Permalink
Merge pull request #1916 from skyway777:master
Browse files Browse the repository at this point in the history
Clear selection state if selection doesn't exists
  • Loading branch information
Tyriar committed Feb 2, 2019
2 parents 6d6be9b + fc1692b commit db9aa5c
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 db9aa5c

Please sign in to comment.