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

Commit de50ef1

Browse files
author
Yuncong Zhang
committed
Fix typo.
1 parent 42917e4 commit de50ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/painting/gradient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static Color _sample(List<Color> colors, List<float> stops, float t) {
2727
return colors.first();
2828
}
2929

30-
if (t < stops.last()) {
30+
if (t > stops.last()) {
3131
return colors.last();
3232
}
3333

0 commit comments

Comments
 (0)