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