@shopify/react-native-skia 0.1.167 → 0.1.169
Sign up to get free protection for your applications and to get access to all the features.
- package/cpp/api/JsiSkPath.h +1 -1
- package/package.json +1 -1
package/cpp/api/JsiSkPath.h
CHANGED
@@ -47,7 +47,7 @@ public:
|
|
47
47
|
count > 1 && !arguments[1].isUndefined() && !arguments[1].isNull()
|
48
48
|
? JsiSkMatrix::fromValue(runtime, arguments[1])
|
49
49
|
: nullptr;
|
50
|
-
auto mode = count > 2 && arguments[2].
|
50
|
+
auto mode = count > 2 && arguments[2].isBool() && arguments[2].getBool()
|
51
51
|
? SkPath::kExtend_AddPathMode
|
52
52
|
: SkPath::kAppend_AddPathMode;
|
53
53
|
if (matrix == nullptr) {
|
package/package.json
CHANGED