Remove redundant if (selectionRect)

This commit is contained in:
adroitwhiz 2020-05-16 03:42:06 -04:00
parent de502d6843
commit aff7dc88f7

View file

@ -74,8 +74,7 @@ class SelectionBoxTool {
context.clearRect(rect.x, rect.y, rect.width, rect.height);
this.setSelectedItems();
}
}
if (this.selectionRect) {
// Remove dotted rectangle
this.selectionRect.remove();
this.selectionRect = null;