mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #20417: Plugin windows missing the left title bar border
This commit is contained in:
parent
e67fce7e4a
commit
11de002a55
|
@ -14,6 +14,7 @@
|
||||||
- Fix: [#20262] Title screen music missing when “random” title music is selected and RCT1 is no longer linked.
|
- 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: [#20361] Crash when using random map generation.
|
||||||
- Fix: [#20413] Crash when attempting to navigate an empty console history.
|
- 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)
|
0.4.5 (2023-05-08)
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
|
@ -48,10 +48,8 @@ namespace OpenRCT2::Ui::Windows
|
||||||
};
|
};
|
||||||
|
|
||||||
static Widget CustomDefaultWidgets[] = {
|
static Widget CustomDefaultWidgets[] = {
|
||||||
{ WindowWidgetType::Frame, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, // panel / background
|
WINDOW_SHIM(STR_STRING, 50, 50),
|
||||||
{ WindowWidgetType::Caption, 0, 0, 0, 1, 14, STR_STRING, STR_WINDOW_TITLE_TIP }, // title bar
|
MakeWidget({ 0, 14 }, { 50, 36 }, WindowWidgetType::Resize, WindowColour::Secondary), // content panel
|
||||||
{ 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
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CustomWidgetDesc
|
struct CustomWidgetDesc
|
||||||
|
|
Loading…
Reference in New Issue