You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- This change uses a secondary canvas and rectangle clearing instead of a
'copy' composition on the same canvas. This should hopefully address
the flickering issue in Safari and Safari Mobile
@@ -643,7 +647,8 @@ Phaser.TilemapLayer.prototype.resetTilesetCache = function ()
643
647
};
644
648
645
649
/**
646
-
* Shifts the contents of the canvas - does extra math so that different browsers agree on the result. The specified (x/y) will be shifted to (0,0) after the copy. The newly exposed canvas area will need to be filled in. This method is problematic for transparent tiles.
650
+
* Shifts the contents of the canvas - does extra math so that different browsers agree on the result.
651
+
* The specified (x/y) will be shifted to (0,0) after the copy and the newly exposed canvas area will need to be filled in.
647
652
*
648
653
* @method Phaser.TilemapLayer#shiftCanvas
649
654
* @private
@@ -676,7 +681,25 @@ Phaser.TilemapLayer.prototype.shiftCanvas = function (context, x, y)
0 commit comments