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-13 16:36:59 -0400 |
commit | 484b2584285aca1b7d20243edf71ac82453637c5 (patch) | |
tree | 935fb6e19d788ac64e9143a45e455379952bc5ed | |
parent | e9914bf0344b0ef996f831ec2d80e5103df8b949 (diff) | |
download | qtlocation-mapboxgl-484b2584285aca1b7d20243edf71ac82453637c5.tar.gz |
[core] Partially revert ZoomHistory.lastIntegerZoom update
-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; } |