layout - add a setting to show secondary sidebar by default (fix #191202) (#245974)

* layout - add a setting to show secondary sidebar by default (fix #191202)

* .

* revamp
This commit is contained in:
Benjamin Pasero
2025-04-08 13:20:07 +00:00
committed by GitHub
parent 46c4653726
commit fd149dca51
5 changed files with 217 additions and 62 deletions
@@ -165,8 +165,8 @@
}
}
// part: side bar (only when opening workspace/folder)
if (configuration.workspace && layoutInfo.sideBarWidth > 0) {
// part: side bar
if (layoutInfo.sideBarWidth > 0) {
const sideDiv = document.createElement('div');
sideDiv.style.position = 'absolute';
sideDiv.style.width = `${layoutInfo.sideBarWidth}px`;