fix zones

This commit is contained in:
wass08
2026-02-24 12:46:27 +09:00
parent 20f5f7ab4a
commit 28b44fe92d
2 changed files with 12 additions and 3 deletions
@@ -177,7 +177,9 @@ export const ZoneRenderer = ({ node }: { node: ZoneNode }) => {
}
return (
<group ref={ref} {...handlers}>
<group ref={ref} {...handlers} userData={{
labelPosition: [centroid[0], 1, centroid[1]]
}}>
<Html name="label" position={[centroid[0], 1, centroid[1]]} style={{
pointerEvents: 'none'
}}