Skip to content

Commit 3d7849d

Browse files
committed
Stop event-listening for workspace resizing and let Vue fill the void
1 parent dd83918 commit 3d7849d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Activity.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,11 @@ export default {
466466
);
467467
468468
// Pass the reference to the method to call, don't execute it (`()`)
469-
window.addEventListener('resize', this.resizeWorkspace, false);
469+
//window.addEventListener('resize', this.resizeWorkspace, false);
470470
471471
// Initial resize
472-
this.resizeWorkspace()
473-
Blockly.svgResize(this.workspace);
472+
//this.resizeWorkspace()
473+
//Blockly.svgResize(this.workspace);
474474
},
475475
476476
blocksExtensions(settings) {

0 commit comments

Comments
 (0)