diff --git a/MiraAPI/Hud/CustomActionButton.cs b/MiraAPI/Hud/CustomActionButton.cs index 1d256e8..c95b347 100644 --- a/MiraAPI/Hud/CustomActionButton.cs +++ b/MiraAPI/Hud/CustomActionButton.cs @@ -219,7 +219,7 @@ public abstract class CustomActionButton Helpers.CreateKeybindIcon( Button.gameObject, Keybind.CurrentKey, - new Vector3(MaxUses <= 0 ? -0.4f : 0.4f, 0.45f, -9f) + new Vector3(0.4f, 0.45f, -9f) ); KeybindText = KeybindIcon.transform.GetChild(0).GetComponent(); HudManagerPatches.ModdedKeybindIcons.Add(KeybindText); diff --git a/MiraAPI/Patches/HudManagerPatches.cs b/MiraAPI/Patches/HudManagerPatches.cs index 8a40b85..b75d0d0 100644 --- a/MiraAPI/Patches/HudManagerPatches.cs +++ b/MiraAPI/Patches/HudManagerPatches.cs @@ -123,15 +123,17 @@ public static class HudManagerPatches aspectPosition.AdjustPosition(); vanillaKeybindIcons = []; - var keybindIconPos = new Vector3(-0.4f, 0.4f, -9.5f); + var keybindIconPos = new Vector3(0.4f, 0.4f, -9.5f); var vanillaButtons = new Dictionary { { __instance.KillButton.gameObject, 8 }, { __instance.UseButton.gameObject, 6 }, + { __instance.PetButton.gameObject, 6 }, { __instance.ReportButton.gameObject, 7 }, { __instance.ImpostorVentButton.gameObject, 50 }, { __instance.SabotageButton.gameObject, 4 }, { __instance.AbilityButton.gameObject, 49 }, + { __instance.SecondaryAbilityButton.gameObject, 8 }, }; foreach (var kvp in vanillaButtons)