forked from organicmaps/organicmaps
Fixed max scale query mode.
This commit is contained in:
parent
d8fb9adaec
commit
f7971c8d51
1 changed files with 3 additions and 1 deletions
|
@ -728,8 +728,10 @@ void Framework::DrawModel(shared_ptr<PaintEvent> const & e,
|
|||
screen.PtoG(m2::Inflate(m2::RectD(renderRect), inflationSize, inflationSize), clipRect);
|
||||
screen.PtoG(m2::RectD(renderRect), selectRect);
|
||||
|
||||
int const drawScale = m_queryMaxScaleMode ? scales::GetUpperScale() : m_scales.GetDrawTileScale(baseScale);
|
||||
int drawScale = m_scales.GetDrawTileScale(baseScale);
|
||||
fwork::FeatureProcessor doDraw(clipRect, screen, e, drawScale);
|
||||
if (m_queryMaxScaleMode)
|
||||
drawScale = scales::GetUpperScale();
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue