Small clean up

This commit is contained in:
Daniel Imms
2018-01-28 17:33:51 -08:00
parent a6a4bf0817
commit bbac1801e5
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -257,7 +257,9 @@ export class SelectionManager extends EventEmitter implements ISelectionManager
return false;
}
return (start[1] < coords[1] && end[1] > coords[1]) || (start[1] === coords[1] && coords[0] > start[0]) || (end[1] === coords[1] && coords[0] < end[0]);
return (start[1] < coords[1] && end[1] > coords[1]) ||
(start[1] === coords[1] && coords[0] > start[0]) ||
(end[1] === coords[1] && coords[0] < end[0]);
}
/**