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:
Adam Nalisnick 2014-01-14 20:54:50 -05:00
parent d8bf13eaaa
commit 7c66a6b6cc

View file

@ -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);
}