mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Add zoom options to playground
This commit is contained in:
parent
9b843156b1
commit
cb4dd7b511
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,11 @@ window.onload = function() {
|
||||||
var workspace = window.Blockly.inject('blocks', {
|
var workspace = window.Blockly.inject('blocks', {
|
||||||
toolbox: toolbox,
|
toolbox: toolbox,
|
||||||
media: '../node_modules/scratch-blocks/media/',
|
media: '../node_modules/scratch-blocks/media/',
|
||||||
|
zoom: {
|
||||||
|
controls: true,
|
||||||
|
wheel: true,
|
||||||
|
startScale: 0.75
|
||||||
|
},
|
||||||
colours: {
|
colours: {
|
||||||
workspace: '#334771',
|
workspace: '#334771',
|
||||||
flyout: '#283856',
|
flyout: '#283856',
|
||||||
|
|
Loading…
Reference in a new issue