Skip to content

Commit 23d7a56

Browse files
authored
chore(💄): fix missing return value in quadTo (#3656)
1 parent 27f8f23 commit 23d7a56

File tree

2 files changed

+486
-1
lines changed

2 files changed

+486
-1
lines changed

‎packages/skia/cpp/api/JsiSkPath.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ class JsiSkPath : public JsiSkWrappingSharedPtrHostObject<SkPath> {
426426
auto x2 = arguments[2].asNumber();
427427
auto y2 = arguments[3].asNumber();
428428
getObject()->quadTo(x1, y1, x2, y2);
429-
return jsi::Value::undefined();
429+
return thisValue.getObject(runtime);
430430
}
431431

432432
JSI_HOST_FUNCTION(rQuadTo) {

0 commit comments

Comments
 (0)