mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
[AvatarScale] Cleanup
This commit is contained in:
parent
ab4276e880
commit
5b40a2a185
4 changed files with 12 additions and 12 deletions
|
@ -4,7 +4,7 @@ namespace NAK.AvatarScaleMod;
|
|||
|
||||
// i like this
|
||||
|
||||
static class ModSettings
|
||||
internal static class ModSettings
|
||||
{
|
||||
public static readonly MelonPreferences_Category Category =
|
||||
MelonPreferences.CreateCategory(nameof(AvatarScaleMod));
|
||||
|
@ -27,12 +27,12 @@ static class ModSettings
|
|||
AvatarScaleGesture.GestureEnabled = EntryUseScaleGesture.Value;
|
||||
}
|
||||
|
||||
static void OnEntryEnabledChanged(bool oldValue, bool newValue)
|
||||
private static void OnEntryEnabledChanged(bool oldValue, bool newValue)
|
||||
{
|
||||
AvatarScaleManager.GlobalEnabled = newValue;
|
||||
}
|
||||
|
||||
static void OnEntryUseScaleGestureChanged(bool oldValue, bool newValue)
|
||||
private static void OnEntryUseScaleGestureChanged(bool oldValue, bool newValue)
|
||||
{
|
||||
AvatarScaleGesture.GestureEnabled = newValue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue