bugfixing

This commit is contained in:
Blue 2018-11-20 15:17:27 +03:00
parent ccc39cac9a
commit 9608b3156b
4 changed files with 38 additions and 9 deletions

View file

@ -15,6 +15,7 @@ class Form extends UI {
labelCell.innerText = label;
editorCell.appendChild(editor.element);
editor.element.style.float = "right";
line.appendChild(labelCell);
line.appendChild(editorCell);

View file

@ -8,8 +8,11 @@ class Panel extends UI {
this.element.classList.add("panel");
this.element.classList.add("shadow");
this.element.classList.add("hidden");
this._children = [];
}
add(ui) {
this._children.push(ui);
this.element.appendChild(ui.element);
}
toggle() {