michalskop / BudovaniStatu.cz

BudovaniStatu.cz
2 stars 3 forks source link

Bug: bubbletree - jeden child #9

Closed michalskop closed 12 years ago

michalskop commented 12 years ago

Problem, kdyz je jenom jeden child, nezobrazi se ring a neda se bubble rozkliknout. Pritom bubbles tam jsou ok.

http://localhost/michal/budovanistatu.cz/bubbletree/dev/trial.html#/~/rozpo-et/301 http://localhost/michal/budovanistatu.cz/bubbletree/dev/trial.html#/~/rozpo-et/301/301-48136000

michalskop commented 12 years ago

vyreseni nerozklikavani (namisto '2' dame '1');

zhruba 440: if (node == root || node.parent == root && node.children.length < 1) { zhruba 476: if (node.children.length < 1) {

michalskop commented 12 years ago

reseni ringu: zhruba 1430: if (me.node.children.length > 0) me.dashedBorder.attr({ cx: me.pos.x, cy: me.pos.y, r: r-4, 'stroke-opacity': me.alpha * 0.9 });