From 314904b1f48aaadf80f730a2bbbce37e7629e2cd Mon Sep 17 00:00:00 2001 From: bluetwelve <82043995+bluetwelve@users.noreply.github.com> Date: Fri, 3 Sep 2021 11:25:22 -0400 Subject: [PATCH] setPathContext function added --- src/svgcanvas/path-method.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/svgcanvas/path-method.js b/src/svgcanvas/path-method.js index 4a5c04ee..1c5c439c 100644 --- a/src/svgcanvas/path-method.js +++ b/src/svgcanvas/path-method.js @@ -629,6 +629,10 @@ export class Path { this.init(); } + setPathContext() { + pathMethodsContext_.setPathObj(this); + } + /** * Reset path data. * @returns {module:path.Path}