diff --git a/ui/component/fileRenderFloating/view.jsx b/ui/component/fileRenderFloating/view.jsx index 247da066d..37e37ae87 100644 --- a/ui/component/fileRenderFloating/view.jsx +++ b/ui/component/fileRenderFloating/view.jsx @@ -90,12 +90,12 @@ export default function FileRenderFloating(props: Props) { return null; } - function handleStart(e, ui) { + function handleDragStart(e, ui) { // Not really necessary, but reset just in case 'handleStop' didn't fire. setWasDragging(false); } - function handleDrag(e, ui) { + function handleDragMove(e, ui) { setWasDragging(true); const { x, y } = position; @@ -107,7 +107,7 @@ export default function FileRenderFloating(props: Props) { }); } - function handleStop(e, ui) { + function handleDragStop(e, ui) { if (wasDragging) { e.stopPropagation(); setWasDragging(false); @@ -116,9 +116,9 @@ export default function FileRenderFloating(props: Props) { return (