diff options
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 7a859b1bc..fcd4adebc 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -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: |