forked from organicmaps/organicmaps
compass fix
This commit is contained in:
parent
1888a902bf
commit
11ba4a6d5d
2 changed files with 2 additions and 2 deletions
|
@ -119,5 +119,5 @@ void Animator::StopChangeViewport()
|
|||
double Animator::GetRotationSpeed() const
|
||||
{
|
||||
/// making full circle in 3 seconds.
|
||||
return 3;
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ void CompassArrow::AnimateShow()
|
|||
void CompassArrow::AnimateHide()
|
||||
{
|
||||
if (isBaseVisible() && (m_animTask == NULL || !IsHidingAnim()))
|
||||
CreateAnim(1.0, 0.0, 0.3, 0.3, false);
|
||||
CreateAnim(1.0, 0.0, 0.3, 0.0, false);
|
||||
}
|
||||
|
||||
void CompassArrow::SetAngle(double angle)
|
||||
|
|
Loading…
Add table
Reference in a new issue