mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-11 13:59:23 -04:00
Merge branch 'feature/sprites' of https://github.com/tmickel/scratch-vm into feature/sprites
This commit is contained in:
commit
bda2926be2
2 changed files with 2 additions and 1 deletions
src
|
@ -15,6 +15,7 @@ Scratch3OperatorsBlocks.prototype.getPrimitives = function() {
|
|||
'math_number': this.number,
|
||||
'math_positive_number': this.number,
|
||||
'math_whole_number': this.number,
|
||||
'math_angle': this.number,
|
||||
'text': this.text,
|
||||
'operator_add': this.add,
|
||||
'operator_subtract': this.subtract,
|
||||
|
|
|
@ -129,7 +129,7 @@ Clone.prototype.setSize = function (size) {
|
|||
// Keep size between 5% and 535%.
|
||||
this.size = MathUtil.clamp(size, 5, 535);
|
||||
self.renderer.updateDrawableProperties(this.drawableID, {
|
||||
scale: this.size
|
||||
scale: [this.size, this.size]
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue