Fix cargo dest overlay not being updated after a zoom change.
This commit is contained in:
@@ -184,6 +184,9 @@ bool DoZoomInOutWindow(ZoomStateChange how, Window *w)
|
|||||||
}
|
}
|
||||||
/* Update the windows that have zoom-buttons to perhaps disable their buttons */
|
/* Update the windows that have zoom-buttons to perhaps disable their buttons */
|
||||||
w->InvalidateData();
|
w->InvalidateData();
|
||||||
|
if (how != ZOOM_NONE) {
|
||||||
|
RebuildViewportOverlay(w);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user