mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-15 13:33:36 +02:00
Update client/mapView/MapView.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
This commit is contained in:
parent
b77bccdc24
commit
3960e5aa32
@ -130,7 +130,8 @@ void MapView::onMapSwiped(const Point & viewPosition)
|
||||
controller->setViewCenter(model->getMapViewCenter() + viewPosition, model->getLevel());
|
||||
}
|
||||
|
||||
void MapView::postSwipe(uint32_t msPassed) {
|
||||
void MapView::postSwipe(uint32_t msPassed)
|
||||
{
|
||||
if(!actions->dragActive)
|
||||
{
|
||||
if(swipeHistory.size() > 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user