Skip to content

Commit 98aba50

Browse files
authored
chore(💄): fix missing return value in quadTo
1 parent a939c69 commit 98aba50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-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)