mirror of
https://github.com/wassname/phaser.git
synced 2026-08-11 11:23:06 +08:00
Removed an errant ';' from the end of an 'else if' causing a circle to be drawn each time a graphics object is updated
This commit is contained in:
@@ -110,7 +110,7 @@ PIXI.WebGLGraphics.updateGraphics = function(graphics)
|
||||
{
|
||||
PIXI.WebGLGraphics.buildRectangle(data, graphics._webGL);
|
||||
}
|
||||
else if(data.type === PIXI.Graphics.CIRC || data.type === PIXI.Graphics.ELIP);
|
||||
else if(data.type === PIXI.Graphics.CIRC || data.type === PIXI.Graphics.ELIP)
|
||||
{
|
||||
PIXI.WebGLGraphics.buildCircle(data, graphics._webGL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user