Fixed minor === bug

dev
Craxic 2015-12-10 14:01:21 +11:00
rodzic 91616f6438
commit 149b51b950
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -595,7 +595,7 @@ PaintCanvasMorph.prototype.init = function (shift) {
// Calculate the center of all the non-transparent pixels on the canvas.
PaintCanvasMorph.prototype.calculateCanvasCenter = function(canvas) {
var canvasBounds = Costume.prototype.canvasBoundingBox(canvas);
if (canvasBounds == null) {
if (canvasBounds === null) {
return null;
}
// Can't use canvasBounds.center(), it rounds down.