Codechange: Redefine ZOOM_LVL so that ZOOM_LVL_NORMAL is 1x zoom.
This matches expectations of what normal zoom means.
This commit is contained in:

committed by
Peter Nelson

parent
9854553e10
commit
7572cfd103
@@ -3235,7 +3235,7 @@ public:
|
||||
ShowExtraViewportWindow(TileVirtXY(v->x_pos, v->y_pos));
|
||||
} else {
|
||||
const Window *mainwindow = GetMainWindow();
|
||||
if (click_count > 1 && mainwindow->viewport->zoom <= ZOOM_LVL_OUT_4X) {
|
||||
if (click_count > 1 && mainwindow->viewport->zoom <= ZOOM_LVL_NORMAL) {
|
||||
/* main window 'follows' vehicle */
|
||||
mainwindow->viewport->follow_vehicle = v->index;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user