(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
This commit is contained in:
@@ -1270,7 +1270,11 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e)
|
||||
w->LowerWidget(PCW_WIDGET_BUILD_VIEW_HQ);
|
||||
w->InvalidateWidget(PCW_WIDGET_BUILD_VIEW_HQ);
|
||||
} else {
|
||||
ScrollMainWindowToTile(tile);
|
||||
if (_ctrl_pressed) {
|
||||
ShowExtraViewPortWindow(tile);
|
||||
} else {
|
||||
ScrollMainWindowToTile(tile);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user