forked from organicmaps/organicmaps-tmp
Do not inflate path text rect to avoid nearest POI's suppression.
This commit is contained in:
parent
06d6b1aecf
commit
2d6f3db6a3
1 changed files with 3 additions and 3 deletions
|
@ -45,9 +45,9 @@ namespace graphics
|
|||
for (unsigned i = 0; i < m_glyphLayout.boundRects().size(); ++i)
|
||||
m_boundRects.push_back(m_glyphLayout.boundRects()[i]);
|
||||
|
||||
for (unsigned i = 0; i < m_boundRects.size(); ++i)
|
||||
m_boundRects[i] = m2::Inflate(m_boundRects[i], m2::PointD(10, 10));
|
||||
// m_boundRects[i].m2::Inflate(m2::PointD(40, 2)); //< to create more sparse street names structure
|
||||
//for (unsigned i = 0; i < m_boundRects.size(); ++i)
|
||||
// m_boundRects[i] = m2::Inflate(m_boundRects[i], m2::PointD(10, 10));
|
||||
//m_boundRects[i].m2::Inflate(m2::PointD(40, 2)); //< to create more sparse street names structure
|
||||
setIsDirtyRect(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue