Fixed minimap scrolling

This commit is contained in:
pelya
2016-04-03 00:13:59 +03:00
parent 026bd48e91
commit bcacd626ef
2 changed files with 1 additions and 2 deletions

View File

@@ -1390,6 +1390,7 @@ int SmallMapWindow::GetPositionOnLegend(Point pt)
* actually being (virtually) clicked every inputloop.
*/
_left_button_clicked = false;
_scrolling_viewport = true;
const NWidgetBase *wid = this->GetWidget<NWidgetBase>(WID_SM_MAP);
Window *w = FindWindowById(WC_MAIN_WINDOW, 0);