use the [CPPlatformWindow primaryPlatformWindow] to position the tooltips.

This commit is contained in:
Antoine Mercadal committed 2013-01-08 18:09:07 -08:00
1 parent 7816510fdf
commit 19f668f4f6
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ var _CPToolTipHeight = 24.0,
- (void)showToolTip
{
var mousePosition = [[CPApp currentEvent] globalLocation],
nativeRect = [[[CPApp mainWindow] platformWindow] nativeContentRect];
nativeRect = [[CPPlatformWindow primaryPlatformWindow] nativeContentRect];
mousePosition.y += 20;