fix(core): Incorrect warning message
This commit is contained in:
parent
164778f6a4
commit
3af2a13439
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue