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