mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix text colour in Recent Messages
This commit is contained in:
committed by
GitHub
parent
a50fa5e04b
commit
6ac6db489c
@@ -27,6 +27,7 @@
|
||||
- Fix: [#21974] No reason specified when attempting to place benches, lamps, or bins on path with no unconnected edges (original bug).
|
||||
- Fix: [#22008] Uninverted Lay-down roller coaster uses the wrong support type.
|
||||
- Fix: [#22012] [Plugin] Images on ImgButton widgets cannot be updated.
|
||||
- Fix: [#22121] Some news items in the “Recent Messages” window have the wrong text colour.
|
||||
|
||||
0.4.11 (2024-05-05)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -208,7 +208,9 @@ static Widget window_news_widgets[] = {
|
||||
{
|
||||
auto ft = Formatter();
|
||||
ft.Add<const char*>(newsItem.Text.c_str());
|
||||
DrawTextWrapped(dpi, { 2, y + lineHeight }, 325, STR_BOTTOM_TOOLBAR_NEWS_TEXT, ft, { FontStyle::Small });
|
||||
DrawTextWrapped(
|
||||
dpi, { 2, y + lineHeight }, 325, STR_BOTTOM_TOOLBAR_NEWS_TEXT, ft,
|
||||
{ COLOUR_BRIGHT_GREEN, FontStyle::Small });
|
||||
}
|
||||
// Subject button
|
||||
if ((newsItem.TypeHasSubject()) && !(newsItem.HasButton()))
|
||||
|
||||
Reference in New Issue
Block a user