refactor: simplify oxc eslint compatibility

This commit is contained in:
xingyu4j
2026-03-14 00:16:27 +08:00
parent 7b064e9f33
commit 913636ae44
11 changed files with 491 additions and 568 deletions

View File

@@ -997,16 +997,16 @@ const bodyDown = (ev: MouseEvent & TouchEvent) => {
ev.preventDefault();
}
if (isDraggable.value) {
bodyDrag.value = true;
}
const pointerPosition = getPointerPosition(ev);
if (!pointerPosition) {
return;
}
if (isDraggable.value) {
bodyDrag.value = true;
}
saveDimensionsBeforeMove(pointerPosition);
if (parentLimitation.value) {