diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-09-29 13:51:54 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-09-29 14:09:57 +0300 |
commit | 2516ad5c26627436292f259fc19f07df4ee86b82 (patch) | |
tree | 4e8f0ec9de0040717864e93451af34774848c5ce /qt | |
parent | bdbc4e90f558fadc8aa6efb3eb346f3c4de72034 (diff) |
Positioning on a search result fixed.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/draw_widget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp index 4c3b9717ed..91307fb90c 100644 --- a/qt/draw_widget.cpp +++ b/qt/draw_widget.cpp @@ -364,6 +364,7 @@ void DrawWidget::resizeGL(int width, int height) float w = m_ratio * width; float h = m_ratio * height; m_framework->OnSize(w, h); + m_framework->SetVisibleViewport(m2::RectD(0, 0, w, h)); if (m_skin) { m_skin->Resize(w, h); |