Changed style of unitinfopanel

This commit is contained in:
dpassoni
2023-01-24 18:50:08 +01:00
parent 4e7f6c6c39
commit b8b2590323
20 changed files with 383 additions and 200 deletions

View File

@@ -13,6 +13,8 @@ export class Dropdown {
this.#container?.addEventListener("click", () => {
this.#open ? this.close() : this.open();
})
if (this.#container != null && this.#options.length > 0)
this.#container.innerHTML = this.#options[0];
}
open() {