Fix regression

main
Riku Isokoski 2021-06-11 14:46:03 +07:00
parent 123c6f1917
commit 21b6f85140
1 changed files with 3 additions and 1 deletions

@ -185,7 +185,9 @@ void DisplayApp::Refresh() {
} else if (returnTouchEvent == gesture) { } else if (returnTouchEvent == gesture) {
LoadApp(returnToApp, returnDirection); LoadApp(returnToApp, returnDirection);
} else if (touchMode == TouchModes::Gestures) { } else if (touchMode == TouchModes::Gestures) {
lvgl.SetNewTapEvent(info.x, info.y); if (gesture == TouchEvents::Tap) {
lvgl.SetNewTapEvent(info.x, info.y);
}
} }
} }
} break; } break;