MCPcopy Create free account
hub / github.com/DTStack/molecule / getSizes

Function getSizes

src/workbench/workbench.tsx:69–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 } = props;
68
69 const getSizes = () => {
70 if (panel.hidden) {
71 return ['100%', 0];
72 }
73 if (panel.panelMaximized) {
74 return [0, '100%'];
75 }
76 return horizontalSplitPanePos;
77 };
78
79 const getContentSize = () => {
80 if (!sidebar.hidden && !auxiliaryBar.hidden) return splitPanePos;

Callers 1

WorkbenchViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected