Triggering events should be at a minimum index of 0. This fixes the bug

where onIdle events on the main page were not started until after scrolling
the menu or entering a collection.
This commit is contained in:
Pieter Hulshoff 2016-09-27 11:47:31 +02:00
parent 416f2568a0
commit 227ec9d2b6
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ void Component::triggerEvent(std::string event, int menuIndex)
{
animationRequestedType_ = event;
animationRequested_ = true;
menuIndex_ = menuIndex;
menuIndex_ = (menuIndex > 0 ? menuIndex : 0);
}
void Component::setPlaylist(std::string name)

View File

@ -20,7 +20,7 @@
std::string retrofe_version_major = "0";
std::string retrofe_version_minor = "7";
std::string retrofe_version_build = "17";
std::string retrofe_version_build = "18";
std::string Version::getString()