diff options
| author | jmoenig <jens@moenig.org> | 2013-08-07 11:32:58 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-08-07 11:32:58 +0200 |
| commit | f557ddeb2ab692f5fbbc31b1e7724461a4565c97 (patch) | |
| tree | de7f378d7da982a9987979c053ae518631423541 /objects.js | |
| parent | e2320cae3d7e9a01ae60fb2bbb234c7940e1071a (diff) | |
| download | snap-yow-f557ddeb2ab692f5fbbc31b1e7724461a4565c97.tar.gz snap-yow-f557ddeb2ab692f5fbbc31b1e7724461a4565c97.zip | |
Fixed stage costume scaling & misplacing bug
Thanks, Josh, for the report!
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -3551,8 +3551,8 @@ StageMorph.prototype.drawNew = function () { ctx.scale(this.scale, this.scale); ctx.drawImage( this.costume.contents, - (this.width() - this.costume.width() * this.scale) / 2, - (this.height() - this.costume.height() * this.scale) / 2 + (this.width() / this.scale - this.costume.width()) / 2, + (this.height() / this.scale - this.costume.height()) / 2 ); } }; @@ -4426,10 +4426,6 @@ StageMorph.prototype.thumbnail = function (extentPoint, excludedSprite) { return trg; }; -StageMorph.prototype.fullThumbnail = function (extentPoint, excludedSprite) { - return this.thumbnail(extentPoint, excludedSprite); -}; - // StageMorph cloning overrice StageMorph.prototype.createClone = nop; |
