diff options
-rw-r--r-- | indexer/feature_utils.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indexer/feature_utils.cpp b/indexer/feature_utils.cpp index e6ff1f6415..5ecc825f14 100644 --- a/indexer/feature_utils.cpp +++ b/indexer/feature_utils.cpp @@ -86,7 +86,9 @@ public: scale = min(scale, GetScaleForType(types[i])); CorrectScaleForVisibility(types, scale); - return scales::GetRectForLevel(scale - 0.5, limitRect.Center(), 1.0); + + /// @todo 0.15 - is dummy constant to fix bug in iPad viewport. + return scales::GetRectForLevel(scale - 0.15, limitRect.Center(), 1.0); } uint8_t GetSearchRank(TypesHolder const & types, m2::PointD const & pt, uint32_t population) const |