fix(DebugPanel): add is-visible class and CSS for expanded panel

This commit is contained in:
2026-09-09 00:20:26 +10:00
parent d395153dca
commit 7fc701651f
2 changed files with 5 additions and 0 deletions

View File

@@ -203,6 +203,7 @@ export class DebugPanel {
/** Expands the debug panel if it is collapsed. */
show() {
this.#panel.classList.add("is-visible");
this.#panel.classList.remove("collapsed");
}

View File

@@ -182,6 +182,10 @@ svg.world-image {
transition: min-width 0.2s ease;
}
.debug-panel.is-visible {
display: flex;
}
.debug-panel.collapsed {
min-width: auto;
}