Michael пре 2 година
родитељ
комит
3ce9d022d5
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      client/mapView/MapView.cpp

+ 1 - 2
client/mapView/MapView.cpp

@@ -156,8 +156,7 @@ void MapView::postSwipe(uint32_t msPassed)
 			}	
 		}
 		swipeHistory.clear();
-	} else
-		postSwipeSpeed = 0.0;
+	}
 	if(postSwipeSpeed > postSwipeMinimalSpeed) {
 		double len = postSwipeSpeed * static_cast<double>(msPassed);
 		Point delta = Point(len * cos(postSwipeAngle), len * sin(postSwipeAngle));