Skip to content

Commit ec24d7c

Browse files
committed
Merge pull request phaserjs#1519 from pnstickne/wip-tilemap-1439b
TilemapLayer - fix for regression typo
2 parents e015fec + c361e6f commit ec24d7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tilemap/TilemapLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ Phaser.TilemapLayer.prototype.shiftCanvas = function (context, x, y)
757757
// Avoids a second copy but flickers in Safari / Safari Mobile
758758
// Ref. https://github.com/photonstorm/phaser/issues/1439
759759
context.save();
760-
context.globalCompositionOperation = 'copy';
760+
context.globalCompositeOperation = 'copy';
761761
context.drawImage(canvas, dx, dy, copyW, copyH, sx, sy, copyW, copyH);
762762
context.restore();
763763
}

0 commit comments

Comments
 (0)