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

Commit a65c603

Browse files
author
Yuncong Zhang
committed
Fix.
1 parent 1e929c4 commit a65c603

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Runtime/painting/fractional_offset.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ public float dy {
8383
return new FractionalOffset(a.dx % b, a.dy % b);
8484
}
8585

86-
static FractionalOffset lerp(FractionalOffset a, FractionalOffset b, float t) {
87-
D.assert(t != null);
86+
public static FractionalOffset lerp(FractionalOffset a, FractionalOffset b, float t) {
8887
if (a == null && b == null) {
8988
return null;
9089
}

0 commit comments

Comments
 (0)