Fix regression

This commit is contained in:
Riku Isokoski 2021-06-11 14:46:03 +03:00
parent 123c6f1917
commit 21b6f85140

View file

@ -185,9 +185,11 @@ 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) {
if (gesture == TouchEvents::Tap) {
lvgl.SetNewTapEvent(info.x, info.y); lvgl.SetNewTapEvent(info.x, info.y);
} }
} }
}
} break; } break;
case Messages::ButtonPushed: case Messages::ButtonPushed:
if (currentApp == Apps::Clock) { if (currentApp == Apps::Clock) {