Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r--map/address_finder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/map/address_finder.cpp b/map/address_finder.cpp
index 07c6950292..8d340122c6 100644
--- a/map/address_finder.cpp
+++ b/map/address_finder.cpp
@@ -1,6 +1,7 @@
#include "map/framework.hpp"
#include "search/result.hpp"
+#include "drape_frontend/visual_params.hpp"
#include "indexer/classificator.hpp"
#include "indexer/feature_visibility.hpp"
@@ -164,7 +165,7 @@ namespace
void Framework::GetFeatureTypes(m2::PointD const & pxPoint, vector<string> & types) const
{
m2::AnyRectD rect;
- m_navigator.GetTouchRect(pxPoint, TOUCH_PIXEL_RADIUS * GetVisualScale(), rect);
+ m_navigator.GetTouchRect(pxPoint, TOUCH_PIXEL_RADIUS * df::VisualParams::Instance().GetVisualScale(), rect);
// This scale should fit in geometry scales range.
int const scale = min(GetDrawScale(), scales::GetUpperScale());