|
const selections = sheet.getSelections(), target = this.getHitTest(obj, e, sheet), range = this.getTargetSelection(sheet, target);
|
|
const selections = sheet.getSelections(), target = this.getHitTest(obj, e, sheet), range = this.getTargetSelection(sheet, target);
|
|
if (!this.checkTargetInSelection(selections, range)) {
|
|
if (!this.checkTargetInSelection(selections, range)) {
|
|
sheet.setSelection(range.row, range.col, range.rowCount, range.colCount);
|
|
sheet.setSelection(range.row, range.col, range.rowCount, range.colCount);
|