Skip to content

Commit

Permalink
Fix cluster legend labels issue (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
neesjanvaneck authored Sep 5, 2022
1 parent 87adfb2 commit 9cea0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/ClusterColorLegend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const ClusterColorLegend = observer(({ showTopClustersOnly, canvasWidth, legendW

ctx.clearRect(0, 0, canvasWidth * visualizationStore.pixelRatio, canvasHeight * visualizationStore.pixelRatio);

ctx.font = `0.75rem ${font}`;
ctx.font = `${12 * visualizationStore.pixelRatio}px ${font}`;
ctx.textBaseline = 'middle';
ctx.lineWidth = lineWidth * visualizationStore.pixelRatio;

Expand Down

0 comments on commit 9cea0aa

Please sign in to comment.