forked from organicmaps/organicmaps
Merge pull request #4429 from Dushistov/fix_DRAW_TILE_NET
fix tile text disappearing in DRAW_TILE_NET mode
This commit is contained in:
commit
a775244951
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ void RuleDrawer::operator()(FeatureType const & f)
|
|||
strings::to_string(key.m_zoomLevel);
|
||||
|
||||
tp.m_primaryTextFont = dp::FontDecl(dp::Color::Red(), 30);
|
||||
|
||||
tp.m_primaryOffset = {0.f, 0.f};
|
||||
drape_ptr<TextShape> textShape = make_unique_dp<TextShape>(r.Center(), tp, false, 0, false);
|
||||
textShape->DisableDisplacing();
|
||||
insertShape(move(textShape));
|
||||
|
|
Loading…
Add table
Reference in a new issue