Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 9748ded

Browse files
committed
error fix
1 parent c0ba300 commit 9748ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/material/slider_theme.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ public override Size getPreferredSize(
562562

563563
static void _addArc(Path path, Offset center, float radius, float startAngle, float endAngle) {
564564
Rect arcRect = Rect.fromCircle(center: center, radius: radius);
565-
path.addArc(arcRect, startAngle, endAngle - startAngle, false);
565+
path.arcTo(arcRect, startAngle, endAngle - startAngle, false);
566566
}
567567

568568
static void _generateBottomLobe() {

0 commit comments

Comments
 (0)