multixy: typo in npoints fix
This commit is contained in:
parent
2408353194
commit
bbfe558353
2 changed files with 6 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class MultiXy extends Pad {
|
|||
|
||||
this.npoints = Array.isArray(this.getProp('points')) ? this.getProp('points').length : parseInt(this.getProp('points'))
|
||||
|
||||
if (isNaN(this.npoints) || this.points < 1) this.npoints = 1
|
||||
if (isNaN(this.npoints) || this.npoints < 1) this.npoints = 1
|
||||
|
||||
this.preventChildrenTouchState = true
|
||||
this.pads = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue