{
if (zoomTool) return;
startDrag(e, 'move');
}}
>

{
const img = e.currentTarget;
setNatural({ w: img.naturalWidth || 1, h: img.naturalHeight || 1 });
}}
/>
{editable && !zoomTool
? (['nw', 'ne', 'sw', 'se'] as const).map((corner) => (
);
}
export function NpcsSceneOverlay({
items,
editable = false,
zoomTool = null,
showClose = false,
onClose,
closeLabel = 'Close',
rotateLabel = 'Rotate',
onLayoutChange,
onZoomAt,
embedded = false,
}: NpcsSceneOverlayProps) {
const host = useSceneOverlayView();
const localRootRef = useRef