Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
fix shared tooltip positioning bug
Browse files Browse the repository at this point in the history
  • Loading branch information
boygirl committed Jan 9, 2018
1 parent 66a43ee commit 2660722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/containers/victory-voronoi-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const voronoiContainerMixin = (base) => class VictoryVoronoiContainer ext
this.getDefaultLabelProps(props, points),
);
const labelPosition = this.getLabelPosition(props, points, labelProps);
return { ...labelPosition, ...labelProps };
return defaults({}, labelPosition, labelProps);
}

getTooltip(props) {
Expand Down

0 comments on commit 2660722

Please sign in to comment.