This commit is contained in:
Richard Davey 2018-06-28 13:07:59 +01:00
parent 217779604c
commit 39c3866179

View file

@ -1883,8 +1883,10 @@ var TextureTintPipeline = new Class({
var height = srcHeight * (flipY ? -1.0 : 1.0);
var x = -displayOriginX + ((srcWidth) * (flipX ? 1.0 : 0.0));
var y = -displayOriginY + ((srcHeight) * (flipY ? 1.0 : 0.0));
// var x = -displayOriginX + frameX + ((frameWidth) * (flipX ? 1.0 : 0.0));
// var y = -displayOriginY + frameY + ((frameHeight) * (flipY ? 1.0 : 0.0));
var xw = (roundPixels ? (x | 0) : x) + width;
var yh = (roundPixels ? (y | 0) : y) + height;
var sr = Math.sin(rotation);