forked from organicmaps/organicmaps
Review fixes
This commit is contained in:
parent
baded09453
commit
e3fa5c4974
1 changed files with 4 additions and 1 deletions
|
@ -58,7 +58,10 @@ void RenderBucket::AddOverlayHandle(drape_ptr<OverlayHandle> && handle)
|
|||
void RenderBucket::Update(ScreenBase const & modelView)
|
||||
{
|
||||
for (drape_ptr<OverlayHandle> & overlayHandle : m_overlay)
|
||||
overlayHandle->Update(modelView);
|
||||
{
|
||||
if (overlayHandle->IsVisible())
|
||||
overlayHandle->Update(modelView);
|
||||
}
|
||||
}
|
||||
|
||||
void RenderBucket::CollectOverlayHandles(ref_ptr<OverlayTree> tree, bool isTransparent)
|
||||
|
|
Loading…
Add table
Reference in a new issue