refactor(useDrag): handle snap grid, cleanup

This commit is contained in:
moklick
2022-04-15 18:45:32 +02:00
parent 341d7448fb
commit 23d451ad06
2 changed files with 41 additions and 16 deletions
-1
View File
@@ -215,7 +215,6 @@ export default (NodeComponent: ComponentType<NodeProps>) => {
disabled: !isDraggable,
noDragClassName,
handleSelector: dragHandle,
nodeId: id,
});
if (hidden) {