Fix #20417: Plugin windows missing the left title bar border

This commit is contained in:
Gymnasiast 2023-06-18 22:40:23 +02:00
parent e67fce7e4a
commit 11de002a55
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
2 changed files with 3 additions and 4 deletions

View File

@ -14,6 +14,7 @@
- Fix: [#20262] Title screen music missing when “random” title music is selected and RCT1 is no longer linked.
- Fix: [#20361] Crash when using random map generation.
- Fix: [#20413] Crash when attempting to navigate an empty console history.
- Fix: [#20417] Plugin/custom windows are missing the left border in the title bar.
0.4.5 (2023-05-08)
------------------------------------------------------------------------

View File

@ -48,10 +48,8 @@ namespace OpenRCT2::Ui::Windows
};
static Widget CustomDefaultWidgets[] = {
{ WindowWidgetType::Frame, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, // panel / background
{ WindowWidgetType::Caption, 0, 0, 0, 1, 14, STR_STRING, STR_WINDOW_TITLE_TIP }, // title bar
{ WindowWidgetType::CloseBox, 0, 0, 0, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button
{ WindowWidgetType::Resize, 1, 0, 0, 14, 0, 0xFFFFFFFF, STR_NONE }, // content panel
WINDOW_SHIM(STR_STRING, 50, 50),
MakeWidget({ 0, 14 }, { 50, 36 }, WindowWidgetType::Resize, WindowColour::Secondary), // content panel
};
struct CustomWidgetDesc