You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/model/model.ts
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2638,7 +2638,12 @@ class MainSidebarModel {
2638
2638
})();
2639
2639
}
2640
2640
2641
-
getWidth(): number{
2641
+
/**
2642
+
* Gets the intended width for the sidebar. If the sidebar is being dragged, returns the tempWidth. If the sidebar is collapsed, returns the default width.
2643
+
* @param ignoreCollapse If true, returns the persisted width even if the sidebar is collapsed.
2644
+
* @returns The intended width for the sidebar or the default width if the sidebar is collapsed. Can be overridden using ignoreCollapse.
0 commit comments