mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
Fix #20417: Plugin windows missing the left title bar border
This commit is contained in:
parent
e67fce7e4a
commit
11de002a55
2 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
------------------------------------------------------------------------
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue