mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -05:00
Remove redundant if (selectionRect)
This commit is contained in:
parent
de502d6843
commit
aff7dc88f7
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue