From 2059cbd11ac24dc5e1c8fc16aafb38cbc93ca19d Mon Sep 17 00:00:00 2001 From: TheSillyDoggo Date: Wed, 25 Sep 2024 16:54:24 +1000 Subject: [PATCH] g --- src/Client/ClientSetup.h | 1 + src/Hacks/FreeScroll.cpp | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Client/ClientSetup.h b/src/Client/ClientSetup.h index e99e9dc..57c800f 100644 --- a/src/Client/ClientSetup.h +++ b/src/Client/ClientSetup.h @@ -548,6 +548,7 @@ class ClientUtils "no-shake", "custom-trans", "menu-bg-blur", + "free-scroll", }; for (auto hack : macInc) diff --git a/src/Hacks/FreeScroll.cpp b/src/Hacks/FreeScroll.cpp index 585ddd4..3547926 100644 --- a/src/Hacks/FreeScroll.cpp +++ b/src/Hacks/FreeScroll.cpp @@ -1,3 +1,5 @@ +#ifndef GEODE_IS_MACOS + #include #include #include "../Client/Client.h" @@ -12,4 +14,6 @@ class $modify (EditorUI) } QOLMOD_MOD_HOOK("free-scroll", "EditorUI::constrainGameLayerPosition") -}; \ No newline at end of file +}; + +#endif \ No newline at end of file