Skip to content

Commit e4b40d3

Browse files
authored
Update lib_svg_utils.js
glow node text nor parent box
1 parent cb9856c commit e4b40d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/panzoom/lib_svg_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ async function svg_text_focus(svg,text,pzref){
6969
const cy = svg.getAttribute("height")/2
7070
setTimeout(()=>{pzref.smoothMoveTo(x, y)}, 400)
7171
setTimeout(()=>{pzref.smoothZoom(cx, cy, 1.5)}, 800)
72-
setTimeout(()=>{glow(svg, targetText.node.parentElement, '#0f0');},1500)
72+
setTimeout(()=>{glow(svg, targetText.node, '#0f0');},1500)
7373
}
7474
}
7575

0 commit comments

Comments
 (0)