diff --git a/CHANGELOG.md b/CHANGELOG.md index ddffd97c..e3050a9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 1.29.0 + +- widgets + - add `onTouch` to all container widgets + - allow starting a traversing gesture outside a touchable widget + +## 1.28.5 + +- bug fixes + - multixy: error when `points` is `0` (or empty array) (again) + ## 1.28.4 - bug fixes diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index b2c19be5..f55c9984 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -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 = []