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:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 2.10.12
|
||||
|
||||
- **Fix:** Das MSCO-Menü wurde in 2.10.11 nicht angezeigt (Fehler beim Anlegen der Schrift für Ankündigungen)
|
||||
|
||||
## 2.10.11
|
||||
|
||||
- **Sicherheitsstufe:** Server und P2P-Hosts, denen MSCO-Sicherheitsupdates fehlen (Server älter als 2.10.6), kann man
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace MSCO
|
||||
/// Version der Mod. Kleine Updates: nur die dritte Stelle erhöhen (2.9.1, 2.9.2 ...) - sie bleiben mit
|
||||
/// Servern und Mitspielern derselben ersten zwei Stellen kompatibel.
|
||||
/// </summary>
|
||||
public const string ModVersion = "2.10.11";
|
||||
public const string ModVersion = "2.10.12";
|
||||
/// <summary>
|
||||
/// Netzwerk-Version (die ersten beiden Stellen). Nur erhöhen, wenn sich das Protokoll inkompatibel ändert - dann
|
||||
/// auch GameServer.ModVersion im Server.
|
||||
|
||||
Reference in New Issue
Block a user