Skip to content

Commit

Permalink
πŸ› fix pie chart slice rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Nov 15, 2023
1 parent d1c8b7d commit 3604e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/front-end/scripts/views/story/piechart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const PieChart = defineComponent({
s.percent = s.votes / total;
s.rotation = rotation;
rotation += Math.floor(360 * s.percent);
rotation += 360 * s.percent;
}
return slices;
Expand Down

0 comments on commit 3604e73

Please sign in to comment.