mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 23:16:56 +00:00
Disable saving middle split position for now
This commit is contained in:
parent
bf1474e101
commit
f65e7ab1d6
@ -25,7 +25,6 @@ import {
|
|||||||
DocumentsTabStateData,
|
DocumentsTabStateData,
|
||||||
readDocumentsTabState,
|
readDocumentsTabState,
|
||||||
readSubComponentState,
|
readSubComponentState,
|
||||||
saveDocumentsTabState,
|
|
||||||
saveSubComponentState,
|
saveSubComponentState,
|
||||||
} from "Explorer/Tabs/DocumentsTabV2/DocumentsTabStateUtil";
|
} from "Explorer/Tabs/DocumentsTabV2/DocumentsTabStateUtil";
|
||||||
import { getPlatformTheme } from "Explorer/Theme/ThemeUtil";
|
import { getPlatformTheme } from "Explorer/Theme/ThemeUtil";
|
||||||
@ -1827,7 +1826,7 @@ export const DocumentsTabComponent: React.FunctionComponent<IDocumentsTabCompone
|
|||||||
<Split
|
<Split
|
||||||
onDragEnd={(preSize: number) => {
|
onDragEnd={(preSize: number) => {
|
||||||
tabStateData.leftPaneWidthPercent = Math.min(100, Math.max(0, Math.round(100 * preSize) / 100));
|
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 });
|
setTabStateData({ ...tabStateData });
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user