From 7c66a6b6cc22408f5c551776697a8e194ed679c5 Mon Sep 17 00:00:00 2001 From: Adam Nalisnick Date: Tue, 14 Jan 2014 20:54:50 -0500 Subject: [PATCH] Removed an errant ';' from the end of an 'else if' causing a circle to be drawn each time a graphics object is updated --- src/pixi/renderers/webgl/WebGLGraphics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pixi/renderers/webgl/WebGLGraphics.js b/src/pixi/renderers/webgl/WebGLGraphics.js index 50ba4482..bb90529d 100644 --- a/src/pixi/renderers/webgl/WebGLGraphics.js +++ b/src/pixi/renderers/webgl/WebGLGraphics.js @@ -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); }