diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-09-15 15:37:54 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:27:02 +0300 |
commit | a5d4a9f0263a2ea4edf552c203873b382856966d (patch) | |
tree | 23f19b896bd5714f3fe44517b9d294e75991199f /map/ruler.cpp | |
parent | 667f03e020af445b5ff23b11251926e3b2e0daf5 (diff) |
review fixes
Diffstat (limited to 'map/ruler.cpp')
-rw-r--r-- | map/ruler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/ruler.cpp b/map/ruler.cpp index 784b0fb2ec..2bdeb9f21d 100644 --- a/map/ruler.cpp +++ b/map/ruler.cpp @@ -172,7 +172,7 @@ void Ruler::RulerFrame::Cache(const string & text, FontDesc const & f) /*15*/ m2::PointD(CacheLength, 0.0 * k), }; - Brush::Info const brushInfo(Color(0x4D, 0x4D, 0x4D, 0xCC)); + Brush::Info const brushInfo(f.m_color); Resource const * brushRes = cs->fromID(cs->mapInfo(brushInfo)); m2::PointF const brushCenter = cs->pipeline(brushRes->m_pipelineID).texture()->mapPixel(brushRes->m_texRect.Center()); |