forked from organicmaps/organicmaps
[map] Refactor fix for unused variable warning
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
This commit is contained in:
parent
58df08f390
commit
4c41eb5816
1 changed files with 1 additions and 2 deletions
|
@ -2249,8 +2249,7 @@ place_page::Info Framework::BuildPlacePageInfo(place_page::BuildInfo const & bui
|
|||
if (buildInfo.m_trackId != kml::kInvalidTrackId)
|
||||
{
|
||||
auto const & track = *GetBookmarkManager().GetTrack(buildInfo.m_trackId);
|
||||
auto rect = track.GetLimitRect();
|
||||
track.UpdateSelectionInfo(rect, trackSelectionInfo);
|
||||
track.UpdateSelectionInfo(track.GetLimitRect(), trackSelectionInfo);
|
||||
}
|
||||
else
|
||||
trackSelectionInfo = FindTrackInTapPosition(buildInfo);
|
||||
|
|
Loading…
Add table
Reference in a new issue