From ac0599efa9b934d03828baef8d3a8310860b8682 Mon Sep 17 00:00:00 2001 From: SpaghettDev <37266659+SpaghettDev@users.noreply.github.com> Date: Sun, 1 Dec 2024 18:13:44 -0500 Subject: [PATCH] maybe dont do anything idk --- src/macos.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macos.mm b/src/macos.mm index dc76743..14e86bc 100644 --- a/src/macos.mm +++ b/src/macos.mm @@ -169,7 +169,7 @@ void mouseDownExec(EAGLView* self, SEL sel, NSEvent* event) cocos2d::CCPoint mousePos = BI::cocos::getMousePosition(); cocos2d::CCTouch touch{}; - touch.setTouchInfo(0, mousePos.x, [[[event window] contentView] frame].size.height - mousePos.y); + touch.setTouchInfo(0, mousePos.x, mousePos.y); g_selectedInput->useUpdateBlinkPos(true);