From cd753d554b679ff8a3eb39014a680db64d60bab6 Mon Sep 17 00:00:00 2001
From: Az <56699741+AlchlcDvl@users.noreply.github.com>
Date: Wed, 30 Sep 2026 10:28:26 -0400
Subject: [PATCH] fix naming
it originally was called "VariantColor" before i switched it to "VariableColor"
---
MiraAPI/Colors/PaletteManager.cs | 2 +-
MiraAPI/Colors/VariableColor.cs | 4 ++--
MiraAPI/Colors/VariableColorBehaviour.cs | 4 ++--
MiraAPI/MiraApiSettings.cs | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/MiraAPI/Colors/PaletteManager.cs b/MiraAPI/Colors/PaletteManager.cs
index 5fc961a..286cd25 100644
--- a/MiraAPI/Colors/PaletteManager.cs
+++ b/MiraAPI/Colors/PaletteManager.cs
@@ -39,7 +39,7 @@ public static class PaletteManager
}
///
- /// Checks to see if the provided color ID belongs to a variant color.
+ /// Checks to see if the provided color ID belongs to a variable color.
///
/// The id of the color.
/// true if the color is a variable color; false otherwise.
diff --git a/MiraAPI/Colors/VariableColor.cs b/MiraAPI/Colors/VariableColor.cs
index 93f736d..44f2408 100644
--- a/MiraAPI/Colors/VariableColor.cs
+++ b/MiraAPI/Colors/VariableColor.cs
@@ -49,7 +49,7 @@ public sealed class VariableColor(StringNames name, Func mainEvalu
/// Evaluates the dynamic main color based on the current in-game time.
///
/// The time to evaluate the color against.
- /// The dynamically evaluated color, or the static if static variant colors are enabled in the user's settings.
+ /// The dynamically evaluated color, or the static if static variable colors are enabled in the user's settings.
public Color EvaluateMainColor(float time)
{
return LocalSettingsTabSingleton.Instance.EnableVariableColors.Value
@@ -61,7 +61,7 @@ public sealed class VariableColor(StringNames name, Func mainEvalu
/// Evaluates the dynamic shadow color based on the current in-game time.
///
/// The time to evaluate the color against.
- /// The dynamically evaluated color, or the static if static variant colors are enabled in the user's settings.
+ /// The dynamically evaluated color, or the static if static variable colors are enabled in the user's settings.
public Color EvaluateShadowColor(float time)
{
return LocalSettingsTabSingleton.Instance.EnableVariableColors.Value
diff --git a/MiraAPI/Colors/VariableColorBehaviour.cs b/MiraAPI/Colors/VariableColorBehaviour.cs
index dbc2e67..d827e61 100644
--- a/MiraAPI/Colors/VariableColorBehaviour.cs
+++ b/MiraAPI/Colors/VariableColorBehaviour.cs
@@ -22,9 +22,9 @@ public sealed class VariableColorBehaviour : MonoBehaviour
private static readonly Color VisorColor = Palette.VisorColor;
///
- /// Sets the current variant color.
+ /// Sets the current variable color.
///
- /// The new variant color.
+ /// The new variable color.
[HideFromIl2Cpp]
public void SetColor(VariableColor? col)
{
diff --git a/MiraAPI/MiraApiSettings.cs b/MiraAPI/MiraApiSettings.cs
index ca448b0..bb6ed51 100644
--- a/MiraAPI/MiraApiSettings.cs
+++ b/MiraAPI/MiraApiSettings.cs
@@ -235,7 +235,7 @@ public class MiraApiSettings(ConfigFile config) : LocalSettingsTab(config)
public ConfigEntry EnableSabotageBlares { get; private set; } = config.Bind("MiraApi.Accessibility", "MiraApi.EnableSabotageBlare", true);
///
- /// Gets whether variant colors will remain static or not.
+ /// Gets whether variable colors will remain static or not.
///
[LocalToggleSetting]
public ConfigEntry EnableVariableColors { get; private set; } = config.Bind("MiraApi.Accessibility", "MiraApi.EnableVariableColors", true);