From d6ad6d1693ad3e80125ca1e29ce205cdcd29cc20 Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Wed, 8 Feb 2023 13:34:58 +0000 Subject: [PATCH] [drape] Remove hardcoded minVisibleScale = 10 from road shields Needed-for: #4314 Signed-off-by: Konstantin Pastbin --- drape_frontend/apply_feature_functors.cpp | 7 +++---- drape_frontend/rule_drawer.cpp | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drape_frontend/apply_feature_functors.cpp b/drape_frontend/apply_feature_functors.cpp index 801b47e0ee..f066977c82 100644 --- a/drape_frontend/apply_feature_functors.cpp +++ b/drape_frontend/apply_feature_functors.cpp @@ -63,7 +63,6 @@ df::ColorConstant const kRoadShieldOrangeBackgroundColor = "RoadShieldOrangeBack uint32_t const kPathTextBaseTextIndex = 128; uint32_t const kShieldBaseTextIndex = 0; -int const kShieldMinVisibleZoomLevel = 10; #ifdef LINES_GENERATION_CALC_FILTERED_POINTS class LinesStat @@ -960,7 +959,7 @@ void ApplyLineFeatureAdditional::GetRoadShieldsViewParams(ref_ptrGetTileKey(), insertShape, f.GetID(), m_currentScaleGtoP, minVisibleScale, f.GetRank(), s.GetCaptionDescription(), clippedSplines);