Revert "Open hidden studio tabs on first click"
This reverts commit ec6036084e.
This commit is contained in:
parent
611dfe7a4a
commit
31f7018204
1 changed files with 0 additions and 13 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue