${wbGear} ${msg("Settings")}
${renderLayersPanel(this)}
${msg("Reset Canvas")}
${msg(html`Hold T to temporarily hide the toolbar overlay.`)}
${renderVisibilitySettings(this)} ${renderLayoutSettings(this)}
${renderSelectedComponentSettings(this)}
this.selection.onCanvasClick(e)}
>
${showGridOverlay ? html`
` : null}
${renderCanvasInner(this)} ${renderFloatingToolbar(this)}
${renderInfoPopup(this)}
${split
? html`
${this._codeTab === "combined"
? combined
: this._codeTab === "html"
? outHtml
: outCss}
`
: null}
${showDrawer
? html`
{
e.preventDefault();
this._closeStudentDrawer();
}}
>
${renderSelectedComponentSettings(this)}
`
: null}
${renderIconDialog(this)} ${renderAllComponentsDialog(this)}
`;
}
private _renderCodeTabs() {
const tabs: Array<[CodeTab, string]> = [
["combined", msg("Combined")],
["html", "HTML"],
["css", "CSS"],
];
return tabs
.filter(([t]) => this.visibleCodeTabs[t])
.map(
([t, label]) => html`