2.10.12: fix MSCO menu not drawn (announcement title style was copied from rowNameStyle before it existed)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 20:55:15 +02:00
co-authored by Claude Opus 5.5
parent 8bac7d194a
commit b2ff221526
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1168,7 +1168,6 @@ namespace MSCO
pillDangerStyle = new GUIStyle(pillStyle);
pillDangerStyle.normal.background = UiTheme.Rounded(new Color(UiTheme.Danger.r, UiTheme.Danger.g, UiTheme.Danger.b, 0.25f), P(4));
pillDangerStyle.normal.textColor = UiTheme.DangerHover;
newsTitleStyle = new GUIStyle(rowNameStyle) { wordWrap = true };
featuredRowBox = UiTheme.Card(Color.Lerp(Field, Gold, 0.14f), P(10));
chipOnStyle = Button(new Color(Accent.r, Accent.g, Accent.b, 0.2f), new Color(Accent.r, Accent.g, Accent.b, 0.3f), AccentHover, P(11), FontStyle.Bold, P(11), new Color(Accent.r, Accent.g, Accent.b, 0.55f));
@@ -1196,6 +1195,7 @@ namespace MSCO
headerCellStyle = Label(P(11), Muted, FontStyle.Bold);
headerCellStyle.alignment = TextAnchor.MiddleLeft;
rowNameStyle = Label(P(14), Color.white, FontStyle.Normal);
newsTitleStyle = new GUIStyle(rowNameStyle) { wordWrap = true }; // erst nach rowNameStyle (Kopie davon)
rowNameStyle.alignment = TextAnchor.MiddleLeft;
pingGoodStyle = new GUIStyle(rowNameStyle);
pingGoodStyle.normal.textColor = Online;