recalculating positions of trash, zoom, etc

This commit is contained in:
Delucse
2020-07-24 19:15:41 +02:00
parent 338bec2d59
commit 9f33b93fdd
3 changed files with 12 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ class BlocklyWindow extends Component {
componentDidMount() {
const workspace = Blockly.getMainWorkspace();
this.props.onChangeWorkspace({});
workspace.addChangeListener((event) => {
this.props.onChangeWorkspace(event);
});