|
|
@ -244,10 +244,12 @@ export function useMultiSelect( |
|
|
|
|
|
|
|
|
|
|
|
selectedRange.startRange({ row, col }) |
|
|
|
selectedRange.startRange({ row, col }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (activeCell.row !== row || activeCell.col !== col) { |
|
|
|
// clear active cell on selection start
|
|
|
|
// clear active cell on selection start
|
|
|
|
activeCell.row = null |
|
|
|
activeCell.row = null |
|
|
|
activeCell.col = null |
|
|
|
activeCell.col = null |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const handleCellClick = (event: MouseEvent, row: number, col: number) => { |
|
|
|
const handleCellClick = (event: MouseEvent, row: number, col: number) => { |
|
|
|
isMouseDown = true |
|
|
|
isMouseDown = true |
|
|
|