Change animation direction in menus
This commit is contained in:
@@ -116,7 +116,7 @@ void List::OnButtonEvent(lv_obj_t * object, lv_event_t event) {
|
||||
if ( event == LV_EVENT_RELEASED ) {
|
||||
for(int i = 0; i < MAXLISTITEMS; i++) {
|
||||
if ( apps[i] != Apps::None && object == itemApps[i] ) {
|
||||
app->StartApp(apps[i], DisplayApp::FullRefreshDirections::Down);
|
||||
app->StartApp(apps[i], DisplayApp::FullRefreshDirections::Up);
|
||||
running = false;
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user