Merge pull request #20359 from mrmbernardi/fix-windows

Fix #20312: Affected windows now update properly
This commit is contained in:
Matthias Moninger authored and GitHub committed 2023-08-23 01:10:31 +03:00
commit 302a64fe00
4 files changed
+4

No files matched your search

+1
View File
@@ -665,6 +665,7 @@ private:
y = std::max<int32_t>(y, widget->bottom);
}
height = y + 6;
ResizeFrameWithPage();
}
void OnResize() override
+1
View File
@@ -741,6 +741,7 @@ public:
}
}
ResizeFrameWithPage();
widgets[WIDX_SCENERY_LIST].right = windowWidth - 26;
widgets[WIDX_SCENERY_LIST].bottom = height - 14;
+1
View File
@@ -268,6 +268,7 @@ public:
}
SetWidgetPressed(WIDX_STAFF_LIST_QUICK_FIRE, _quickFireMode);
ResizeFrameWithPage();
widgets[WIDX_STAFF_LIST_LIST].right = width - 4;
widgets[WIDX_STAFF_LIST_LIST].bottom = height - 15;
widgets[WIDX_STAFF_LIST_QUICK_FIRE].left = width - 77;
+1
View File
@@ -379,6 +379,7 @@ public:
_colour_index_2 = -1;
}
ResizeFrameWithPage();
widgets[WIDX_THEMES_LIST].right = width - 4;
widgets[WIDX_THEMES_LIST].bottom = height - 0x0F;