We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c49aad commit 0ea05a6Copy full SHA for 0ea05a6
src/SplitPane.js
@@ -290,7 +290,7 @@ class SplitPane extends Component {
290
if (primaryHasReachedLimit) {
291
secondarySizePx = primary[sizeDim] + secondary[sizeDim] - primarySizePx;
292
} else if (secondaryHasReachedLimit) {
293
- primarySizePx = primary[sizeDim] + primary[sizeDim] - secondarySizePx;
+ primarySizePx = primary[sizeDim] + secondary[sizeDim] - secondarySizePx;
294
}
295
296
sizesPx[resizerIndex] = primarySizePx;
0 commit comments