From 58105a460686913c823bceacfd040b574a4b5250 Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Tue, 28 Feb 2023 09:06:40 +0000 Subject: [PATCH] [drape] Remove hardcoded minVisibleScale = 10 for road shields The exception is moved to kothic code. Needed-for: #4426 Signed-off-by: Konstantin Pastbin --- drape_frontend/apply_feature_functors.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drape_frontend/apply_feature_functors.cpp b/drape_frontend/apply_feature_functors.cpp index 7b1f8bee87..ddaee1bf18 100644 --- a/drape_frontend/apply_feature_functors.cpp +++ b/drape_frontend/apply_feature_functors.cpp @@ -62,7 +62,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 @@ -962,7 +961,7 @@ void ApplyLineFeatureAdditional::GetRoadShieldsViewParams(ref_ptr