Skip to content

Commit

Permalink
fix: shift resize box head select behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
zzxming committed Nov 27, 2024
1 parent a654a38 commit 01670c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/table-resize/table-resize-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ export class TableResizeBox extends TableResizeCommon {
y: Math.max(currentBoundary[1].y, this.lastHeaderSelect[1].y),
};
}
else {
this.lastHeaderSelect = currentBoundary;
}

tableSelection.selectedTds = tableSelection.computeSelectedTds(...currentBoundary);
tableSelection.showSelection();
this.lastHeaderSelect = currentBoundary;
}
};

Expand Down

0 comments on commit 01670c3

Please sign in to comment.