summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/objects.js b/objects.js
index 0a79cf7..e01494f 100644
--- a/objects.js
+++ b/objects.js
@@ -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;