Merge pull request #4429 from Dushistov/fix_DRAW_TILE_NET

fix tile text disappearing in DRAW_TILE_NET mode
This commit is contained in:
Roman Kuznetsov 2016-12-08 13:44:08 +03:00 committed by GitHub
commit a775244951

View file

@ -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));