feat: expose showDebugPanel API and add panel toggle method

This commit is contained in:
2026-09-08 23:17:20 +10:00
parent 212c2adb77
commit d395153dca
2 changed files with 8 additions and 0 deletions

View File

@@ -201,6 +201,11 @@ export class DebugPanel {
/** @returns {string | null} */
get lastActiveId() { return this.#lastActiveId; }
/** Expands the debug panel if it is collapsed. */
show() {
this.#panel.classList.remove("collapsed");
}
/**
* Sets the draggable checkbox to the given value without firing the change callback.
*