From f65e7ab1d6607a768efb38869bd560ab49653a0f Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Tue, 23 Jul 2024 11:05:04 +0200 Subject: [PATCH] Disable saving middle split position for now --- src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index c9220f601..10909f1a8 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -25,7 +25,6 @@ import { DocumentsTabStateData, readDocumentsTabState, readSubComponentState, - saveDocumentsTabState, saveSubComponentState, } from "Explorer/Tabs/DocumentsTabV2/DocumentsTabStateUtil"; import { getPlatformTheme } from "Explorer/Theme/ThemeUtil"; @@ -1827,7 +1826,7 @@ export const DocumentsTabComponent: React.FunctionComponent { tabStateData.leftPaneWidthPercent = Math.min(100, Math.max(0, Math.round(100 * preSize) / 100)); - saveDocumentsTabState(tabStateData); + // saveDocumentsTabState(tabStateData); // Disable saving split position for now setTabStateData({ ...tabStateData }); }} >