matrix: addresses not generated property when matrix' address is auto

This commit is contained in:
bordun 2020-11-18 20:02:23 +01:00
parent e0d4a40655
commit 0966f7b754
2 changed files with 3 additions and 2 deletions

View file

@ -21,7 +21,8 @@ As of this version, packages except the `node` package are bundled with a midi b
- ui: missing vertical scrollbar when root's height overflows the workspace
- server: provide readable error when a file requested by the client file is not found
- tab: content not drawn when changing visible property
- matrix: addresses not generated property when matrix' address is `auto`
- ui
- add console bottom panel with a simple script interpreter

View file

@ -101,7 +101,7 @@ class Matrix extends Panel {
return {
type: this.getProp('widgetType'),
id: '@{parent.id}/' + i,
address: '@{parent.address}/' + i,
address: '#{@{parent.address} == "auto" ? "/" + @{parent.id} : @{parent.address}}/' + i,
preArgs: '@{parent.preArgs}',
target: '@{parent.target}',
decimals: '@{parent.decimals}',