()
| 77 | }; |
| 78 | |
| 79 | const getContentSize = () => { |
| 80 | if (!sidebar.hidden && !auxiliaryBar.hidden) return splitPanePos; |
| 81 | |
| 82 | if (sidebar.hidden) { |
| 83 | return auxiliaryBar.hidden |
| 84 | ? [0, '100%', 0] |
| 85 | : [0, 'auto', splitPanePos[2]]; |
| 86 | } |
| 87 | |
| 88 | return [splitPanePos[0], 'auto', 0]; |
| 89 | }; |
| 90 | |
| 91 | const getContentSashes = () => { |
| 92 | if (!sidebar.hidden && !auxiliaryBar.hidden) return true; |