Fix cargo dest overlay not being updated after a zoom change.

This commit is contained in:
Jonathan G Rennison
2016-01-03 20:04:53 +00:00
parent f9d4213a3a
commit 23ddba38a5

View File

@@ -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;
}