Skip to content
Snippets Groups Projects
Commit 9fb4b6cd authored by Azadpour, Elmera's avatar Azadpour, Elmera
Browse files

sugg edit

parent d10ee29b
No related branches found
No related tags found
1 merge request!95top 25 fams, white stroke on circle text, img/text for fams
......@@ -183,7 +183,7 @@ const activeFamily = ref(defaultFamily); // start with placeholder
const transition = svg.transition()
.duration(event.altKey ? 7500 : 750)
.tween("zoom", () => {
const i = d3.interpolateZoom(view, [focus.x, focus.y, focus.r * 2]);
const i = d3.interpolateZoom(view, [focus.x, focus.y, focus.r * 2.2]);
return t => zoomTo(i(t));
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment