Changes were reviewed manually
This commit is contained in:
Alexander Wilms committed 2024-06-24 03:47:19 +02:00
1 parent 820b1b446e
commit 02e429e973
277 files changed
+815 -815

No files matched your search

+1 -1
View File
@@ -187,7 +187,7 @@ void MapView::postSwipe(uint32_t msPassed)
std::pair<uint32_t, Point> firstAccepted;
uint32_t now = GH.input().getTicks();
for (auto & x : swipeHistory) {
if(now - x.first < postSwipeCatchIntervalMs) { // only the last x ms are catched
if(now - x.first < postSwipeCatchIntervalMs) { // only the last x ms are caught
if(firstAccepted.first == 0)
firstAccepted = x;
diff += x.second;