Skip to content

Commit

Permalink
g
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Sep 25, 2024
1 parent f1cab91 commit 2059cbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Client/ClientSetup.h
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ class ClientUtils
"no-shake",
"custom-trans",
"menu-bg-blur",
"free-scroll",
};

for (auto hack : macInc)
Expand Down
6 changes: 5 additions & 1 deletion src/Hacks/FreeScroll.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#ifndef GEODE_IS_MACOS

#include <Geode/Geode.hpp>
#include <Geode/modify/EditorUI.hpp>
#include "../Client/Client.h"
Expand All @@ -12,4 +14,6 @@ class $modify (EditorUI)
}

QOLMOD_MOD_HOOK("free-scroll", "EditorUI::constrainGameLayerPosition")
};
};

#endif

0 comments on commit 2059cbd

Please sign in to comment.