Skip to content

Commit

Permalink
Add missing param to getGridCellUnderMouse (#6055)
Browse files Browse the repository at this point in the history
## Problem
The main branch now doesn't typecheck because of a missing param to
`getGridCellUnderMouse` in `grid-resize-element-strategy.ts`

## Fix
Fix it
  • Loading branch information
bkrmendy authored and liady committed Dec 13, 2024
1 parent 309e07d commit fb60924
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const gridResizeElementStrategy: CanvasStrategyFactory = (
)

let targetCell = customState.grid.targetCell
const cellUnderMouse = getGridCellUnderMouse(mouseWindowPoint)
const cellUnderMouse = getGridCellUnderMouse(mouseWindowPoint, canvasState.scale)
if (cellUnderMouse != null) {
targetCell = cellUnderMouse.coordinates
}
Expand Down

0 comments on commit fb60924

Please sign in to comment.