Merge branch 'master' of github.com:algorithm-visualizer/algorithm-visualizer
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user