@hestia-earth/ui-components 0.36.13 → 0.36.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -680,10 +680,10 @@ const lollipopChartPlugin = settings => ({
680
680
  const { base, x, y } = _view;
681
681
  clickableDictionary.push((clientX, clientY) => isMouseInsideCircle({ clientX, clientY }, { x, y }, circleRadius));
682
682
  clickableDictionary.push((clientX, clientY) => isMouseInsideCircle({ clientX, clientY }, { x: base, y }, circleRadius));
683
- circle(ctx, base, y, color, circleRadius);
683
+ circle(ctx, x, y, color, circleRadius);
684
684
  if (base !== x && drawStart) {
685
685
  lineWidth && line(ctx, base, x, y, color, lineWidth);
686
- circle(ctx, x, y, color, circleRadius);
686
+ circle(ctx, base, y, color, circleRadius);
687
687
  }
688
688
  });
689
689
  ctx.restore();