mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-03-31 01:03:17 +02:00
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:
@@ -93,7 +93,7 @@ void Component::triggerEvent(std::string event, int menuIndex)
|
|||||||
{
|
{
|
||||||
animationRequestedType_ = event;
|
animationRequestedType_ = event;
|
||||||
animationRequested_ = true;
|
animationRequested_ = true;
|
||||||
menuIndex_ = menuIndex;
|
menuIndex_ = (menuIndex > 0 ? menuIndex : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Component::setPlaylist(std::string name)
|
void Component::setPlaylist(std::string name)
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
std::string retrofe_version_major = "0";
|
std::string retrofe_version_major = "0";
|
||||||
std::string retrofe_version_minor = "7";
|
std::string retrofe_version_minor = "7";
|
||||||
std::string retrofe_version_build = "17";
|
std::string retrofe_version_build = "18";
|
||||||
|
|
||||||
|
|
||||||
std::string Version::getString()
|
std::string Version::getString()
|
||||||
|
|||||||
Reference in New Issue
Block a user