X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/src/draw/CompositeSprite.js diff --git a/src/draw/CompositeSprite.js b/src/draw/CompositeSprite.js index 4ed4ad53..354fe70d 100644 --- a/src/draw/CompositeSprite.js +++ b/src/draw/CompositeSprite.js @@ -177,13 +177,13 @@ Ext.define('Ext.draw.CompositeSprite', { * Hides all sprites. If the first parameter of the method is true * then a redraw will be forced for each sprite. */ - hide: function(attrs) { + hide: function(redraw) { var i = 0, items = this.items, len = this.length; for (; i < len; i++) { - items[i].hide(); + items[i].hide(redraw); } return this; }, @@ -192,13 +192,13 @@ Ext.define('Ext.draw.CompositeSprite', { * Shows all sprites. If the first parameter of the method is true * then a redraw will be forced for each sprite. */ - show: function(attrs) { + show: function(redraw) { var i = 0, items = this.items, len = this.length; for (; i < len; i++) { - items[i].show(); + items[i].show(redraw); } return this; },