refactor: simplify oxc eslint compatibility
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user