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

Commit 81f77e1

Browse files
committed
Merge remote-tracking branch 'origin/hook1.5.4' into hook1.5.4
2 parents 8a8f16b + 2956a50 commit 81f77e1

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)