[core] Partially revert ZoomHistory.lastIntegerZoom update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user