mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-23 23:28:52 +01:00
Random button press now sends notification to all components.
This commit is contained in:
parent
cdba6f5df7
commit
8f2f1d5839
@ -289,6 +289,8 @@ void ScrollingList::random()
|
||||
{
|
||||
if(!items_ || items_->size() == 0) return;
|
||||
|
||||
notifyAllRequested_ = true;
|
||||
|
||||
deallocateSpritePoints();
|
||||
itemIndex_ = rand() % items_->size();
|
||||
allocateSpritePoints();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user