Call Blockly.svgResize() once the div it is going to be placed in (#489)

knows what size it is going to be.
This commit is contained in:
picklesrus
2016-07-30 23:26:53 -07:00
committed by Neil Fraser
parent 927cabe992
commit 51a6bd3873

View File

@@ -87,6 +87,7 @@
};
window.addEventListener('resize', onresize, false);
onresize();
Blockly.svgResize(workspace);
</script>
</body>
</html>