hovering over axis should not remove overlays (#2553)

This commit is contained in:
Kurt Hutten
2024-05-30 21:25:20 +10:00
committed by GitHub
parent 8f4380be74
commit b388f60648

View File

@ -153,7 +153,7 @@ export const ModelingMachineProvider = ({
])
const pathToNode = parent?.userData?.pathToNode
const pathToNodeString = JSON.stringify(pathToNode)
if (!parent || !pathToNode) return {}
if (!parent || !pathToNode) return segmentHoverMap
if (segmentHoverMap[pathToNodeString] !== undefined)
clearTimeout(segmentHoverMap[JSON.stringify(pathToNode)])
return {