From 5f27732cd6e47bdfd18c17edcdd27c286130c826 Mon Sep 17 00:00:00 2001 From: SpaghettDev <37266659+SpaghettDev@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:51:34 -0500 Subject: [PATCH] feat(macos): Start MacOS testing --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 9ad52df..34617bf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -880,7 +880,7 @@ struct AlertLayerFix : Modify // this pretty much reworks everything when a CCTextInputNode is interacted with, // from text input to deletion and even selection - +#ifdef GEODE_IS_WINDOWS // backspace and del is handled in dispatchDeleteBackward/dispatchDeleteForward then in CCEGLView::onGLFWKeyCallback // same goes for all the other characters (dispatchInsertText then CCEGLView::onGLFWKeyCallback) // except for ctrl and shift, which are only handled in CCEGLView::onGLFWKeyCallback @@ -1016,3 +1016,5 @@ struct BetterCCEGLView : Modify g_selectedInput->useUpdateBlinkPos(false); } }; + +#endif