forked from organicmaps/organicmaps
Merge pull request #1061 from rokuz/fixed-resize-buttons
Fixed resizing of country status buttons
This commit is contained in:
commit
67ef3f0f5b
1 changed files with 2 additions and 2 deletions
|
@ -65,14 +65,14 @@ void BackendRenderer::RecacheGui(gui::TWidgetsInitInfo const & initInfo, gui::TW
|
|||
{
|
||||
drape_ptr<gui::LayerRenderer> layerRenderer = m_guiCacher.RecacheWidgets(initInfo, sizeInfo, m_texMng);
|
||||
drape_ptr<Message> outputMsg = make_unique_dp<GuiLayerRecachedMessage>(move(layerRenderer));
|
||||
m_commutator->PostMessage(ThreadsCommutator::RenderThread, move(outputMsg), MessagePriority::High);
|
||||
m_commutator->PostMessage(ThreadsCommutator::RenderThread, move(outputMsg), MessagePriority::Normal);
|
||||
}
|
||||
|
||||
void BackendRenderer::RecacheCountryStatus()
|
||||
{
|
||||
drape_ptr<gui::LayerRenderer> layerRenderer = m_guiCacher.RecacheCountryStatus(m_texMng);
|
||||
drape_ptr<Message> outputMsg = make_unique_dp<GuiLayerRecachedMessage>(move(layerRenderer));
|
||||
m_commutator->PostMessage(ThreadsCommutator::RenderThread, move(outputMsg), MessagePriority::High);
|
||||
m_commutator->PostMessage(ThreadsCommutator::RenderThread, move(outputMsg), MessagePriority::Normal);
|
||||
}
|
||||
|
||||
void BackendRenderer::AcceptMessage(ref_ptr<Message> message)
|
||||
|
|
Loading…
Add table
Reference in a new issue