Skip to content

Commit c8cd425

Browse files
committed
okay
1 parent 7f0e933 commit c8cd425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macos.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ inline bool keyDown(PlatformKey key, NSEvent* event)
4848
static_cast<float>(viewFrame.size.width),
4949
static_cast<float>(viewFrame.size.height)
5050
};
51-
auto mousePos = event.mouseLocation;
51+
auto mousePos = [NSEvent mouseLocation];
5252

5353
return cocos2d::CCPoint{
5454
mousePos.x - windowFrame.origin.x,

0 commit comments

Comments
 (0)