From a27daeb36063ddd6fc1fdc0bb0c15a5f502fb13a Mon Sep 17 00:00:00 2001 From: Chad Engler Date: Tue, 4 Feb 2014 16:15:28 -0800 Subject: [PATCH] Have BitmapText inherit from SpriteBatch instead of DOC --- src/pixi/text/BitmapText.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pixi/text/BitmapText.js b/src/pixi/text/BitmapText.js index 5521757..27ef4e3 100644 --- a/src/pixi/text/BitmapText.js +++ b/src/pixi/text/BitmapText.js @@ -9,7 +9,7 @@ * http://www.bmglyph.com/ for mac. * * @class BitmapText - * @extends DisplayObjectContainer + * @extends SpriteBatch * @constructor * @param text {String} The copy that you would like the text to display * @param style {Object} The style parameters @@ -18,7 +18,7 @@ */ PIXI.BitmapText = function(text, style) { - PIXI.DisplayObjectContainer.call(this); + PIXI.SpriteBatch.call(this); this._pool = []; @@ -29,7 +29,7 @@ PIXI.BitmapText = function(text, style) }; // constructor -PIXI.BitmapText.prototype = Object.create(PIXI.DisplayObjectContainer.prototype); +PIXI.BitmapText.prototype = Object.create(PIXI.SpriteBatch.prototype); PIXI.BitmapText.prototype.constructor = PIXI.BitmapText; /**