From 30c5a2213af5d159b57de1d21c271e17df56b778 Mon Sep 17 00:00:00 2001 From: Isaiah Billingsley Date: Sun, 21 May 2023 22:00:29 -0400 Subject: [PATCH] Compatibility with Tweaks55 scroll speed multiplier --- StickDriftHelper/Patches/Stick.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/StickDriftHelper/Patches/Stick.cs b/StickDriftHelper/Patches/Stick.cs index f883f34..42a7821 100644 --- a/StickDriftHelper/Patches/Stick.cs +++ b/StickDriftHelper/Patches/Stick.cs @@ -27,6 +27,7 @@ public static Vector2 ApplyDeadzone(Vector2 input, float deadzone) [HarmonyPatch("HandleJoystickWasNotCenteredThisFrame")] internal class ScrollViewStickDrift { + [HarmonyBefore(new string[] { "Kinsi55.BeatSaber.Tweaks55" })] static bool Prefix(ScrollView __instance, ref Vector2 deltaPos) { if (!Config.Instance.Enabled) return true;