提交 54e204d7 编写于 作者: J Jason Park

Merge branch 'master' of github.com:algorithm-visualizer/algorithm-visualizer

......@@ -206,7 +206,7 @@ class App extends BaseComponent {
handleChangeWorkspaceWeights(workspaceWeights) {
this.setState({ workspaceWeights });
this.codeEditorRef.current.getWrappedInstance().handleResize();
this.codeEditorRef.current.handleResize();
}
toggleNavigatorOpened(navigatorOpened = !this.state.workspaceVisibles[0]) {
......
......@@ -16,7 +16,7 @@ class CodeEditor extends React.Component {
}
handleResize() {
this.aceEditorRef.current.getWrappedInstance().resize();
this.aceEditorRef.current.resize();
}
render() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册