compass fix

This commit is contained in:
ExMix 2014-03-20 18:03:20 +03:00 committed by Alex Zolotarev
parent 1888a902bf
commit 11ba4a6d5d
2 changed files with 2 additions and 2 deletions

View file

@ -119,5 +119,5 @@ void Animator::StopChangeViewport()
double Animator::GetRotationSpeed() const
{
/// making full circle in 3 seconds.
return 3;
return 1;
}

View file

@ -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)