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

Method UpdatePlacePageInfoForCurrentSelection

libs/map/framework.cpp:2288–2298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2286}
2287
2288void Framework::UpdatePlacePageInfoForCurrentSelection(std::optional<place_page::BuildInfo> const & overrideInfo)
2289{
2290 if (!m_currentPlacePageInfo)
2291 return;
2292
2293 m_currentPlacePageInfo =
2294 BuildPlacePageInfo(overrideInfo.has_value() ? *overrideInfo : m_currentPlacePageInfo->GetBuildInfo());
2295
2296 if (m_onPlacePageUpdate)
2297 m_onPlacePageUpdate();
2298}
2299
2300Track::TrackSelectionInfo Framework::FindTrackInTapPosition(place_page::BuildInfo const & buildInfo) const
2301{

Calls 1

has_valueMethod · 0.80

Tested by

no test coverage detected