From 7b68597808f9bb6205d2ad057e662f6ca35bed0f Mon Sep 17 00:00:00 2001 From: Tyfon <29051038+tyfon7@users.noreply.github.com> Date: Tue, 4 Jun 2024 11:50:17 -0700 Subject: [PATCH] Stop flea timeleft clock pixel shift --- Patches/FixFleaPatches.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Patches/FixFleaPatches.cs b/Patches/FixFleaPatches.cs index dbd713e..1c76278 100644 --- a/Patches/FixFleaPatches.cs +++ b/Patches/FixFleaPatches.cs @@ -17,7 +17,7 @@ namespace UIFixes new ToggleOnOpenPatch().Enable(); new OfferItemFixMaskPatch().Enable(); - new BlockActionsClickThroughPatch().Enable(); + new OfferViewTweaksPatch().Enable(); } public class DoNotToggleOnMouseOverPatch : ModulePatch @@ -72,7 +72,7 @@ namespace UIFixes } } - public class BlockActionsClickThroughPatch : ModulePatch + public class OfferViewTweaksPatch : ModulePatch { protected override MethodBase GetTargetMethod() { @@ -80,7 +80,7 @@ namespace UIFixes } [PatchPostfix] - public static void Postfix(OfferView __instance) + public static void Postfix(OfferView __instance, GameObject ____expirationTimePanel) { // Intercept clicks on the actions area var blocker = __instance.transform.Find("Actions").gameObject.GetOrAddComponent