Fix #11618: Don't try to display unavailable zoom levels in sprite aligner. (#11619)

This commit is contained in:
Peter Nelson
2023-12-23 13:17:33 +00:00
committed by GitHub
parent acfe367507
commit 5cb7a16edc
2 changed files with 4 additions and 0 deletions

View File

@@ -265,6 +265,7 @@ static void ZoomMinMaxChanged(int32_t)
{
ConstrainAllViewportsZoom();
GfxClearSpriteCache();
InvalidateWindowClassesData(WC_SPRITE_ALIGNER);
if (AdjustGUIZoom(false)) {
ReInitAllWindows(true);
}