void InteriorPinScaleController::OnModalityChangedMessage(const Modality::ModalityChangedMessage& message)
 {
     const float modalityParam = message.Modality();
     
     if (modalityParam == 0.f)
     {
         m_modalMenuState = Closed;
     }
     else if (modalityParam == 1.f)
     {
         m_modalMenuState = Open;
     }
     else
     {
         m_modalMenuState = (m_modalMenuState == Closed || m_modalMenuState == Opening) ? Opening : Closing;
     }
     
     UpdateInteriorPinsHiddenState();
 }
 void GpsMarkerController::OnModalityChangedMessage(const Modality::ModalityChangedMessage &message)
 {
     m_view.SetScale(1.0f - message.Modality());
 }