Skip to content

Commit

Permalink
rm newline
Browse files Browse the repository at this point in the history
  • Loading branch information
nstepien committed Aug 22, 2023
1 parent c52251f commit 504771c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/HeaderCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export default function HeaderCell<R, SR>({
function onPointerMove(event: PointerEvent) {
// prevents text selection in Chrome, which fixes scrolling the grid while dragging, and fixes re-size on an autosized column
event.preventDefault();

const { right, left } = headerCell.getBoundingClientRect();
const width = isRtl ? right + offset - event.clientX : event.clientX + offset - left;
if (width > 0) {
Expand Down

0 comments on commit 504771c

Please sign in to comment.