clear state if selection doesn't exists

This commit is contained in:
Nikita Chuklinov
2019-01-30 20:34:16 +03:00
parent cc531f1933
commit fc1692b3eb
+1
View File
@@ -55,6 +55,7 @@ export class SelectionRenderLayer extends BaseRenderLayer {
// Selection does not exist
if (!start || !end) {
this._clearState();
return;
}