mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix map edge scrolling after swiping usage
This commit is contained in:
@@ -48,8 +48,6 @@ class MapView : public BasicMapView
|
||||
{
|
||||
std::shared_ptr<MapViewActions> actions;
|
||||
|
||||
bool isSwiping;
|
||||
|
||||
public:
|
||||
void show(Canvas & to) override;
|
||||
|
||||
@@ -64,9 +62,6 @@ public:
|
||||
/// Moves current view to specified position, in pixels
|
||||
void onMapSwiped(const Point & viewPosition);
|
||||
|
||||
/// Ends swiping mode and allows normal map scrolling once again
|
||||
void onMapSwipeEnded();
|
||||
|
||||
/// Moves current view to specified tile
|
||||
void onCenteredTile(const int3 & tile);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user