From 3af2a1343908d59a132dac109c37e6487edebf7e Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sat, 21 May 2022 18:42:13 +0200 Subject: [PATCH] fix(core): Incorrect warning message --- packages/core/src/path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/path.js b/packages/core/src/path.js index 1b65afc4ac1..d37b2a3d0e5 100644 --- a/packages/core/src/path.js +++ b/packages/core/src/path.js @@ -38,7 +38,7 @@ Path.prototype.setRender = function (render = true) { /** Adds a move operation to Point to */ Path.prototype.move = function (to) { if (to instanceof Point !== true) - this.raise.warning('Called `Path.rotate(to)` but `to` is not a `Point` object') + this.raise.warning('Called `Path.move(to)` but `to` is not a `Point` object') this.ops.push({ type: 'move', to }) return this