Fix regression

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

View file

@ -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;