diff --git a/CHANGELOG.md b/CHANGELOG.md index 433eb3fb..375db8e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.27.2 +- bug fixes + - multixy: `default` not applied when points are named + - client - show 3-dots menu in read-only mode with access to allowed items (e.g fullscreen) - hide console in read-only mode diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 64a600e5..3e2345f2 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -74,7 +74,7 @@ module.exports = class MultiXy extends Pad { snap:this.getProp('snap'), spring:this.getProp('spring'), ephemeral:this.getProp('ephemeral'), - default:this.getProp('default').length === this.getProp('points') * 2 ? [this.getProp('default')[i*2], this.getProp('default')[i*2 + 1]] : '', + default:this.getProp('default').length === this.npoints * 2 ? [this.getProp('default')[i*2], this.getProp('default')[i*2 + 1]] : '', rangeX:this.getProp('rangeX'), rangeY:this.getProp('rangeY'), decimals:this.getProp('decimals'),