fix mouse Y pos (OSX)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1761 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
mantognini 2010-12-21 12:15:12 +00:00
parent e9cccf0e6f
commit 44d859860a

View File

@ -187,7 +187,7 @@
NSPoint loc = [self convertPoint:[theEvent locationInWindow] fromView:nil];
// Don't forget to change to SFML coord system.
float h = [[theEvent window] frame].size.height;
float h = [self frame].size.height;
myRequester->MouseMovedAt(loc.x, h - loc.y);
}