MCPcopy Create free account
hub / github.com/comaps/comaps / ApplyAnimations

Method ApplyAnimations

libs/drape_frontend/user_event_stream.cpp:313–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313void UserEventStream::ApplyAnimations()
314{
315 if (m_animationSystem.AnimationExists(Animation::Object::MapPlane))
316 {
317 ScreenBase screen;
318 if (m_animationSystem.GetScreen(GetCurrentScreen(), screen))
319 m_navigator.SetFromScreen(screen);
320
321 m_modelViewChanged = true;
322 }
323}
324
325ScreenBase const & UserEventStream::GetCurrentScreen() const
326{

Callers

nothing calls this directly

Calls 3

AnimationExistsMethod · 0.80
GetScreenMethod · 0.80
SetFromScreenMethod · 0.80

Tested by

no test coverage detected