Skip to content

Commit 0bfcdf9

Browse files
committed
💚
1 parent bec1321 commit 0bfcdf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package/cpp/api/JsiSkMatrix.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class JsiSkMatrix : public JsiSkWrappingSharedPtrHostObject<SkMatrix> {
3838
auto pers1 = array.getValueAtIndex(runtime, 7).asNumber();
3939
auto pers2 = array.getValueAtIndex(runtime, 8).asNumber();
4040
return SkMatrix::MakeAll(scaleX, skewX, transX, skewY, scaleY, transY,
41-
pers0, pers1, pers2);
41+
pers0, pers1, pers2);
4242
} else if (array.size(runtime) == 16) {
4343
auto m11 = array.getValueAtIndex(runtime, 0).asNumber();
4444
auto m12 = array.getValueAtIndex(runtime, 1).asNumber();
@@ -52,8 +52,8 @@ class JsiSkMatrix : public JsiSkWrappingSharedPtrHostObject<SkMatrix> {
5252
return SkMatrix::MakeAll(m11, m12, m14, m21, m22, m24, m41, m42, m44);
5353
}
5454
throw jsi::JSError(runtime,
55-
"Expected array of length 9 or 16 for matrix, got " +
56-
std::to_string(array.size(runtime)));
55+
"Expected array of length 9 or 16 for matrix, got " +
56+
std::to_string(array.size(runtime)));
5757
}
5858

5959
JSI_HOST_FUNCTION(concat) {

0 commit comments

Comments
 (0)