Skip to content

Commit

Permalink
development
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfiex committed Dec 2, 2024
1 parent 573ba63 commit 7be0735
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/circlepacked/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ function chart(data) {

function zoom(event, d) {

if (d.depth < 2) return console.log(d.depth, d)
if (d.depth > 1 && d.parent) {d = d.parent}
else{return 0};

const focus0 = focus;

Expand Down

0 comments on commit 7be0735

Please sign in to comment.