Skip to content

Commit

Permalink
Fix metaballs
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian FERBACH committed Jul 11, 2018
1 parent 0b462bc commit 0b49821
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const tooltip = d3

const chart = eventDrops({
d3,
metaballs: false,
zoom: {
// onZoomEnd: () => updateCommitsInformation(chart),
},
Expand Down
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ export default ({ d3 = window.d3, ...customConfiguration }) => {
// selection.call(zoom(d3, config, xScale, draw, getEvent));
// }

// if (metaballs) {
// svg.call(addMetaballsDefs(config));
// }
if (metaballs) {
enteringViewport.call(addMetaballsDefs(config));
}
};

chart.draw = draw;
Expand Down

0 comments on commit 0b49821

Please sign in to comment.