diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-09-12 07:20:37 -0400 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-09-15 16:41:29 -0300 |
commit | 0f9773e615e0790e7559d5ec4a9cb331edc13a93 (patch) | |
tree | 8f8ccd3cc6242e5112de08ffa25281405b4d95d5 /src | |
parent | 907a96a8f79491f39471f44218682c7f43b0ede9 (diff) | |
download | qtlocation-mapboxgl-0f9773e615e0790e7559d5ec4a9cb331edc13a93.tar.gz |
[core] Partially revert ZoomHistory.lastIntegerZoom update
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/map/zoom_history.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |