Add zoom options to playground

This commit is contained in:
Tim Mickel 2016-06-07 20:26:58 -04:00
parent 9b843156b1
commit cb4dd7b511

View file

@ -7,6 +7,11 @@ window.onload = function() {
var workspace = window.Blockly.inject('blocks', {
toolbox: toolbox,
media: '../node_modules/scratch-blocks/media/',
zoom: {
controls: true,
wheel: true,
startScale: 0.75
},
colours: {
workspace: '#334771',
flyout: '#283856',