From c25271ee2d57a37254a2738e4410bb079c316ee9 Mon Sep 17 00:00:00 2001 From: RMROC451 Date: Sun, 2 Mar 2025 13:23:15 -0600 Subject: [PATCH] begone concentric circles! --- Assembly.version | 2 +- TweaksAndThings/Patches/ContextMenu_Show_Patch.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assembly.version b/Assembly.version index 2bd9b67..44c2825 100644 --- a/Assembly.version +++ b/Assembly.version @@ -2,6 +2,6 @@ 1 2 - 4 + 5 \ No newline at end of file diff --git a/TweaksAndThings/Patches/ContextMenu_Show_Patch.cs b/TweaksAndThings/Patches/ContextMenu_Show_Patch.cs index 84ba16a..94f4406 100644 --- a/TweaksAndThings/Patches/ContextMenu_Show_Patch.cs +++ b/TweaksAndThings/Patches/ContextMenu_Show_Patch.cs @@ -27,6 +27,7 @@ internal class ContextMenu_Show_Patch return true; } __instance.CancelHideCoroutine(); + if (__instance.contentRectTransform.childCount >= 1) __instance.contentRectTransform.GetChild(0).DestroyAllChildren(); //YOINK DEM CIRCLES! __instance.SetupTemplate(rootCanvas); __instance.centerLabel.text = centerText; Canvas componentInParent = ((Component)__instance.contentRectTransform).GetComponentInParent();