Hello!
I'm trying to change workspace's blocks size in real time:
var blocks = window.Blockly.mainWorkspace.getAllBlocks();
$.each(blocks,function(i,block) {
block.svg_.width = block.svg_.width * 1.5;
block.svg_.height = block.svg_.height * 1.5;
});
Now It seems that I have to "refresh" or "redraw" the workspace or all the
blocks in order to render them with their new dimensions, but I'm not able to
find in the documentation how to do it. Any help would be great!
Thanks in advance!
Oscar
Original issue reported on code.google.com by
oferran...@gmail.comon 23 Jul 2014 at 11:17