Instant update of all labels, with the structure catching up later.

Fixes #16
This commit is contained in:
Ian Gulliver
2019-07-14 20:05:14 +00:00
parent ab5210e924
commit d47cec70c1
2 changed files with 32 additions and 19 deletions

View File

@@ -42,6 +42,11 @@ class EditorInputBase extends EditorEntryBase {
onInput() {
this.elem_.setAttribute('data-arch-render', '');
let objs = document.getElementsByClassName('grid-' + this.getId());
if (objs.length == 1) {
objs[0].innerText = this.getLabel();
objs[0].xArchFixSize();
}
}
onBlur() {