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