Revert "Open hidden studio tabs on first click"

This reverts commit ec6036084e.
This commit is contained in:
Andraxion 2026-06-27 05:19:52 -04:00
parent 611dfe7a4a
commit 31f7018204

View file

@ -561,20 +561,7 @@ export function createToolWindowController(scope) {
if (!entry) { if (!entry) {
return; return;
} }
const wasVisible = entry.visible === true;
const wasActive = scope.activeSidebarTab === normalizedKey;
setActiveTool(normalizedKey); setActiveTool(normalizedKey);
if (!wasVisible) {
entry.visible = true;
syncPanels();
persistPanelState();
return;
}
if (!wasActive) {
syncPanels();
persistPanelState();
return;
}
toggleEntryVisibility(entry); toggleEntryVisibility(entry);
} }