diff options
author | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2016-12-08 13:44:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-08 13:44:08 +0300 |
commit | a775244951727ed0a317c4dbd8557e2a4af3083e (patch) | |
tree | 28d6ced5e9d03bb48d4c7ebf1daa5b1a8139a024 /drape_frontend | |
parent | a1f0f03b13e02e06cef08066962e6214bbc3e8b8 (diff) | |
parent | 0de06e5877124b14a173c3b749549aa81f774193 (diff) |
Merge pull request #4429 from Dushistov/fix_DRAW_TILE_NET
fix tile text disappearing in DRAW_TILE_NET mode
Diffstat (limited to 'drape_frontend')
-rw-r--r-- | drape_frontend/rule_drawer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drape_frontend/rule_drawer.cpp b/drape_frontend/rule_drawer.cpp index 49368bf3e3..ccd1613f38 100644 --- a/drape_frontend/rule_drawer.cpp +++ b/drape_frontend/rule_drawer.cpp @@ -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)); |