diff --git a/src/main_gui.cpp b/src/main_gui.cpp index dad3b7d2c4..8b206855c8 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -184,6 +184,9 @@ bool DoZoomInOutWindow(ZoomStateChange how, Window *w) } /* Update the windows that have zoom-buttons to perhaps disable their buttons */ w->InvalidateData(); + if (how != ZOOM_NONE) { + RebuildViewportOverlay(w); + } return true; }