summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r--src/SMAPI/Metadata/CoreAssetPropagator.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs
index d7dd9fb9..71199d59 100644
--- a/src/SMAPI/Metadata/CoreAssetPropagator.cs
+++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs
@@ -563,6 +563,7 @@ namespace StardewModdingAPI.Metadata
/// <param name="content">The content manager through which to reload the asset.</param>
/// <param name="key">The asset key to reload.</param>
/// <returns>Returns whether any textures were reloaded.</returns>
+ /// <remarks>Derived from the <see cref="TitleMenu"/> constructor and <see cref="TitleMenu.setUpIcons"/>.</remarks>
private bool ReloadTitleButtons(LocalizedContentManager content, string key)
{
if (Game1.activeClickableMenu is TitleMenu titleMenu)
@@ -570,6 +571,11 @@ namespace StardewModdingAPI.Metadata
Texture2D texture = content.Load<Texture2D>(key);
titleMenu.titleButtonsTexture = texture;
+ titleMenu.backButton.texture = texture;
+ titleMenu.aboutButton.texture = texture;
+ titleMenu.languageButton.texture = texture;
+ foreach (ClickableTextureComponent button in titleMenu.buttons)
+ button.texture = titleMenu.titleButtonsTexture;
foreach (TemporaryAnimatedSprite bird in titleMenu.birds)
bird.texture = texture;