mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-30 02:00:10 +02:00
update split.js and fix shrink bugs. fixes #333
This commit is contained in:
@@ -40,6 +40,10 @@ export class SplitPane extends Component {
|
||||
/* eslint-disable new-cap */
|
||||
this.splitInstance = Split(Array.from(this.parent.children), options);
|
||||
|
||||
if (this.parent.children.length >= 5) {
|
||||
window.splitInstance = this.splitInstance;
|
||||
}
|
||||
|
||||
/* eslint-enable new-cap */
|
||||
|
||||
if (this.props.onSplit) {
|
||||
|
Reference in New Issue
Block a user