fix: preserve document pane workspace handle
This commit is contained in:
@@ -58,7 +58,7 @@ import {
|
|||||||
if (panesBootstrap.secondaryInvalid === true) clearSecondaryParams();
|
if (panesBootstrap.secondaryInvalid === true) clearSecondaryParams();
|
||||||
installSecondaryPaneOpenListeners();
|
installSecondaryPaneOpenListeners();
|
||||||
installSecondaryPaneCloseButtons();
|
installSecondaryPaneCloseButtons();
|
||||||
const { applyStoredSecondaryWidth } = createSecondaryPaneWidthController();
|
const { workspace, applyStoredSecondaryWidth } = createSecondaryPaneWidthController();
|
||||||
applyStoredSecondaryWidth();
|
applyStoredSecondaryWidth();
|
||||||
|
|
||||||
const paneRuntimes = panesBootstrap.panes
|
const paneRuntimes = panesBootstrap.panes
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ export const createSecondaryPaneWidthController = () => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return { applyStoredSecondaryWidth };
|
return { workspace, applyStoredSecondaryWidth };
|
||||||
};
|
};
|
||||||
|
|
||||||
export const buildPaneRuntime = (paneDescriptor, rootSelector) => {
|
export const buildPaneRuntime = (paneDescriptor, rootSelector) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user