Skip to content

Blurry SVG path on Firefox when zooming #3616

Answered by Fil
lebesnec asked this question in Q&A
Discussion options

You must be logged in to vote

Can you upgrade the test to a recent version of d3? Current version is 7.8.

In script.js you'll need to change the code to:

function zoomed({transform}) {
  layer.attr("transform", transform);
}

var svg = d3.select("#app")
        .append("svg")
        .attr("width", 500)
        .attr("height", 500)
        .call(zoom)

var layer = svg.append("g").attr("transform", transform);

svg.call(zoom.transform, transform);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Fil
Comment options

@lebesnec
Comment options

Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3615 on December 21, 2022 17:20.