diff --git a/src/app/common/common.tsx b/src/app/common/common.tsx index b2f088811..578eb6090 100644 --- a/src/app/common/common.tsx +++ b/src/app/common/common.tsx @@ -1301,7 +1301,7 @@ class ResizableSidebar extends React.Component<ResizableSidebarProps> { const mainSidebarModel = GlobalModel.mainSidebarModel; const collapsed = mainSidebarModel.getCollapsed(); - this.resizeStartWidth = collapsed ? MagicLayout.MainSidebarMinWidth : mainSidebarModel.getWidth(); + this.resizeStartWidth = mainSidebarModel.getWidth(); document.addEventListener("mousemove", this.onMouseMove); document.addEventListener("mouseup", this.stopResizing);