Skip to content

Commit

Permalink
Merge pull request #6 from Rahiche/fix-control-point-getting-the-same…
Browse files Browse the repository at this point in the history
…-value

Don't sort control points
  • Loading branch information
Rahiche authored Sep 17, 2024
2 parents 2697c62 + 05ddc4a commit 5384b67
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ class _HomePageState extends State<HomePage> {
onChanged: (double value) {
setState(() {
cp.position = value;
_controlPoints
.sort((a, b) => a.position.compareTo(b.position));
});
},
),
Expand Down

0 comments on commit 5384b67

Please sign in to comment.