1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00
Changes were reviewed manually
This commit is contained in:
Alexander Wilms
2024-06-24 03:23:26 +02:00
parent 820b1b446e
commit 02e429e973
277 changed files with 815 additions and 815 deletions

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;