전략편집기 수정
This commit is contained in:
@@ -68,12 +68,6 @@ export default function PaletteDragOverlay() {
|
||||
const s = sessionRef.current;
|
||||
if (!s || e.pointerId !== s.pointerId) return;
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
const label = labelRef.current;
|
||||
if (label) {
|
||||
label.style.left = `${e.clientX}px`;
|
||||
label.style.top = `${e.clientY}px`;
|
||||
}
|
||||
notifyPaletteDragMove(e.clientX, e.clientY);
|
||||
}, []);
|
||||
|
||||
@@ -81,7 +75,6 @@ export default function PaletteDragOverlay() {
|
||||
const s = sessionRef.current;
|
||||
if (!s || e.pointerId !== s.pointerId) return;
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
notifyPaletteDragEnd(e.clientX, e.clientY);
|
||||
}, []);
|
||||
|
||||
@@ -89,7 +82,6 @@ export default function PaletteDragOverlay() {
|
||||
const s = sessionRef.current;
|
||||
if (!s || e.pointerId !== s.pointerId) return;
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
notifyPaletteDragCancel(e.clientX, e.clientY);
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user