[core] Partially revert ZoomHistory.lastIntegerZoom update

This commit is contained in:
Bruno de Oliveira Abinader
2017-09-12 07:20:37 -04:00
parent 907a96a8f7
commit 0f9773e615

View File

@@ -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;
}