Skip to content

Commit

Permalink
Update lib_svg_utils.js
Browse files Browse the repository at this point in the history
glow node text nor parent box
  • Loading branch information
wassfila authored Jun 7, 2024
1 parent cb9856c commit e4b40d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/panzoom/lib_svg_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function svg_text_focus(svg,text,pzref){
const cy = svg.getAttribute("height")/2
setTimeout(()=>{pzref.smoothMoveTo(x, y)}, 400)
setTimeout(()=>{pzref.smoothZoom(cx, cy, 1.5)}, 800)
setTimeout(()=>{glow(svg, targetText.node.parentElement, '#0f0');},1500)
setTimeout(()=>{glow(svg, targetText.node, '#0f0');},1500)
}
}

Expand Down

0 comments on commit e4b40d3

Please sign in to comment.