This commit is contained in:
2025-05-10 16:39:19 +05:30
parent 21b6e1108b
commit 2debef7305

View File

@@ -188,7 +188,7 @@ const DistanceFindingControls = ({ boundingBoxRef }: DistanceFindingControlsProp
return ( return (
<> <>
{/* Measurement text labels */} {/* Measurement text labels */}
{boundingBoxRef && ( {boundingBoxRef.current && (
<> <>
<group name="textPosX" ref={textPosX}> <group name="textPosX" ref={textPosX}>
<Html zIndexRange={[1, 0]} style={{ pointerEvents: 'none' }}> <Html zIndexRange={[1, 0]} style={{ pointerEvents: 'none' }}>