inspector: restore missing separator label

This commit is contained in:
jean-emmanuel 2025-09-23 22:30:22 +02:00
parent e8ecb121f5
commit af2a771b7d
2 changed files with 4 additions and 1 deletions

View file

@ -7,6 +7,7 @@
- prevent editor zoom level from affecting drag events when the editor is disabled
- prevent changing editor zoom level when it's disabled
- fader: fix touchZone == knob for compact design
- separator labels missing in inspector
- widgets
- the html property is no longer restricted / sanitized

View file

@ -163,7 +163,9 @@ class Widget extends EventEmitter {
if (this[i] === undefined) this[i] = {}
for (let j in obj[i]) {
if (obj[i][j] === null) delete this[i][j]
else {
else if (j[0] === '_') {
this[i][j] = obj[i][j]
} else {
if (!this[i][j]) this[i][j] = {}
Object.assign(this[i][j], obj[i][j])
}