Small clean up
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user