forked from organicmaps/organicmaps
[drape]Review fix. Handle scale changing.
This commit is contained in:
parent
b0d4534014
commit
bf4e2970a7
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@ namespace df
|
|||
vector<Tiler::RectInfo> tiles;
|
||||
m_tiler.tiles(tiles, 1);
|
||||
|
||||
if (!m_currentViewport.GlobalRect().IsIntersect(screen.GlobalRect()))
|
||||
if (!m_currentViewport.GlobalRect().IsIntersect(screen.GlobalRect())
|
||||
|| screen.GetScale() != m_currentViewport.GetScale())
|
||||
{
|
||||
typedef set<ReadMWMTask *>::iterator index_iter;
|
||||
for (index_iter it = m_taskIndex.begin(); it != m_taskIndex.end(); ++it)
|
||||
|
|
Loading…
Add table
Reference in a new issue