[core] Ensure 'isPanning' is true when panning a full round

This commit is contained in:
Bruno de Oliveira Abinader
2019-02-19 23:11:50 +02:00
parent fab0dd4f00
commit 7d407175e0
2 changed files with 18 additions and 1 deletions

View File

@@ -124,7 +124,7 @@ void Transform::easeTo(const CameraOptions& camera, const AnimationOptions& anim
const double startScale = state.scale;
const double startAngle = state.angle;
const double startPitch = state.pitch;
state.panning = latLng != startLatLng;
state.panning = unwrappedLatLng != startLatLng;
state.scaling = scale != startScale;
state.rotating = angle != startAngle;