1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Haptic feedback and increased dead zone

This commit is contained in:
Michael
2023-08-27 21:40:56 +02:00
committed by GitHub
parent f16b93c391
commit da3014bd54
2 changed files with 11 additions and 1 deletions

View File

@ -51,8 +51,9 @@ class MapViewController : public IMapObjectObserver
private:
const int defaultTileSize = 32;
const int zoomTileDeadArea = 4;
const int zoomTileDeadArea = 5;
Point targetTileSize = Point(32, 32);
bool wasInDeadZone = true;
bool isEventInstant(const CGObjectInstance * obj);
bool isEventVisible(const CGObjectInstance * obj);