Random button press now sends notification to all components.

This commit is contained in:
emb 2015-10-21 21:53:36 -05:00
parent cdba6f5df7
commit 8f2f1d5839

View File

@ -289,6 +289,8 @@ void ScrollingList::random()
{
if(!items_ || items_->size() == 0) return;
notifyAllRequested_ = true;
deallocateSpritePoints();
itemIndex_ = rand() % items_->size();
allocateSpritePoints();