Skip to content

Commit

Permalink
Minor fix to BarChart
Browse files Browse the repository at this point in the history
  • Loading branch information
iSoron committed Sep 10, 2022
1 parent 318aa3c commit d136572
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class BarChart(
val r = round(barWidth * 0.15)
if (2 * r < barHeight) {
canvas.fillRect(x, y + r, barWidth, barHeight - r)
canvas.fillRect(x + r, y, barWidth - 2 * r, r)
canvas.fillRect(x + r, y, barWidth - 2 * r, r + 1)
canvas.fillCircle(x + r, y + r, r)
canvas.fillCircle(x + barWidth - r, y + r, r)
} else {
Expand Down

0 comments on commit d136572

Please sign in to comment.