fix(common-ui): guard resize drag start state

pull/336/head
xingyu4j 2026-03-13 21:56:53 +08:00
parent 542ed6c08f
commit 2846bcb84e
1 changed files with 2 additions and 2 deletions

View File

@ -818,14 +818,14 @@ const stickDown = (
return;
}
stickDrag.value = true;
const pointerPosition = getPointerPosition(ev);
if (!pointerPosition) {
return;
}
stickDrag.value = true;
saveDimensionsBeforeMove(pointerPosition);
currentStick.value = stick;