()
| 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; |