This commit is contained in:
Poovizhi99 2025-05-10 16:39:19 +05:30
parent 21b6e1108b
commit 2debef7305
1 changed files with 1 additions and 1 deletions

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' }}>