mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
ParticleEmitter
would fail to draw a textured particle in Canvas mode
This commit is contained in:
parent
56e1e04da3
commit
34b27fd57a
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ var ParticleManagerCanvasRenderer = function (renderer, emitterManager, interpol
|
|||
|
||||
ctx.scale(particle.scaleX, particle.scaleY);
|
||||
|
||||
ctx.drawImage(frame.source.image, cd.sx, cd.sy, cd.sWidth, cd.sHeight, x, y, cd.dWidth, cd.dHeight);
|
||||
ctx.drawImage(frame.source.image, cd.x, cd.y, cd.width, cd.height, x, y, cd.width, cd.height);
|
||||
|
||||
ctx.restore();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue