From 484b2584285aca1b7d20243edf71ac82453637c5 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Tue, 12 Sep 2017 07:20:37 -0400 Subject: [core] Partially revert ZoomHistory.lastIntegerZoom update --- src/mbgl/map/zoom_history.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/map/zoom_history.hpp b/src/mbgl/map/zoom_history.hpp index ddec53e6af..7821499d72 100644 --- a/src/mbgl/map/zoom_history.hpp +++ b/src/mbgl/map/zoom_history.hpp @@ -29,7 +29,7 @@ struct ZoomHistory { if (lastFloorZoom > floorZ) { lastIntegerZoom = floorZ + 1; lastIntegerZoomTime = now == Clock::time_point::max() ? zero : now; - } else if (lastFloorZoom < floorZ || lastIntegerZoom != floorZ) { + } else if (lastFloorZoom < floorZ) { lastIntegerZoom = floorZ; lastIntegerZoomTime = now == Clock::time_point::max() ? zero : now; } -- cgit v1.2.1