fix: calls function correctly

This commit is contained in:
Mark Mankarious
2023-08-17 10:04:36 +01:00
parent fd5258e38c
commit f06acb6375

View File

@@ -15,7 +15,7 @@ export const DragItems: InteractionReducer = {
if (
state.mode.type !== 'DRAG_ITEMS' ||
!state.mouse.mousedown ||
!hasMovedTile
!hasMovedTile(state.mouse)
)
return;