diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index f5fb8bf35..cf4ef3d54 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -2231,8 +2231,8 @@ static void MainWindowWndProc(Window *w, WindowEvent *e) case 'Z': { Point pt = GetTileBelowCursor(); if (pt.x != -1) { - ScrollMainWindowTo(pt.x, pt.y); if (e->we.keypress.keycode == 'Z') MaxZoomInOut(ZOOM_IN, w); + ScrollMainWindowTo(pt.x, pt.y); } break; } |