misc: sessions converted from v0 will use the widget's html property to display the former label property
This commit is contained in:
parent
8f996a23e0
commit
527e06f3df
2 changed files with 10 additions and 1 deletions
|
|
@ -4,7 +4,10 @@
|
|||
|
||||
- midi
|
||||
- accept sending sysex strings without spaces between the bytes
|
||||
|
||||
|
||||
- misc
|
||||
- sessions converted from v0 will use the widget's html property to display the former label property
|
||||
|
||||
## 1.6.2
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -211,6 +211,12 @@ var converters = [
|
|||
|
||||
}
|
||||
|
||||
var label = data.label === undefined ? 'auto' : data.label
|
||||
if (label !== false && data.type && !data.type.match(/button|menu|modal|clone|html/)) {
|
||||
var label = label === 'auto' ? '@{this.id}' : label
|
||||
data.html = label
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue