forked from organicmaps/organicmaps
review fixes
This commit is contained in:
parent
667f03e020
commit
a5d4a9f026
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue