Fix text colour in Recent Messages

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2024-05-28 22:08:24 +00:00
1 parent a50fa5e04b
commit 6ac6db489c
2 files changed
+4 -1

No files matched your search

+1
View File
@@ -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)
------------------------------------------------------------------------
+3 -1
View File
@@ -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()))