(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:
@@ -819,7 +819,13 @@ static void DepotWndProc(Window *w, WindowEvent *e)
|
||||
}
|
||||
break;
|
||||
|
||||
case DEPOT_WIDGET_LOCATION: ScrollMainWindowToTile(w->window_number); break;
|
||||
case DEPOT_WIDGET_LOCATION:
|
||||
if (_ctrl_pressed) {
|
||||
ShowExtraViewPortWindow(w->window_number);
|
||||
} else {
|
||||
ScrollMainWindowToTile(w->window_number);
|
||||
}
|
||||
break;
|
||||
|
||||
case DEPOT_WIDGET_STOP_ALL:
|
||||
case DEPOT_WIDGET_START_ALL:
|
||||
|
Reference in New Issue
Block a user