Fix is click in selection
This commit is contained in:
@@ -258,8 +258,8 @@ export class SelectionManager extends EventEmitter implements ISelectionManager
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (start[1] < coords[1] && end[1] > coords[1]) ||
|
return (start[1] < coords[1] && end[1] > coords[1]) ||
|
||||||
(start[1] === coords[1] && coords[0] > start[0]) ||
|
(start[1] === end[1] && start[1] === coords[1] && coords[0] > start[0] && coords[0] < end[0]) ||
|
||||||
(end[1] === coords[1] && coords[0] < end[0]);
|
(start[1] < end[1] && end[1] === coords[1] && coords[0] < end[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user