Skip to content

Commit

Permalink
Merge pull request #987 from brandonjackson/blockly-scale
Browse files Browse the repository at this point in the history
Blockly Scaling
  • Loading branch information
Paul Varache authored May 8, 2017
2 parents 8e75375 + b2ecec0 commit 649fdf5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/elements/kano-blockly/kano-blockly.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ <h2>[[modalText]]</h2>
type: String,
value: 'JavaScript'
},
scale: {
type: Number,
value: 0.9
},
noTrashcan: {
type: Boolean,
value: false
Expand Down Expand Up @@ -298,7 +302,7 @@ <h2>[[modalText]]</h2>
disable: true,
zoom: {
controls: !this.noZoomControl,
startScale: 0.9,
startScale: this.scale,
maxScale: 3,
minScale: 0.3,
scaleSpeed: 1.2
Expand Down

0 comments on commit 649fdf5

Please sign in to comment.