View Full Version : Ext.draw.Sprite.setAttributes & redraw

26 Feb 2014, 6:48 AM
I can see the second parameter to this is whether to redraw immediately.

What if I want to do a bunch of changes to a bunch of objects - so I set this to false, how do I then trigger the redraw of the surface they are place on ?

13 Mar 2014, 11:36 AM
If you have a reference to the sprites you can iterate over them and do sprite.show(true); when you want them to be shown/drawn.

Else you might try surface.renderAll();