Skip to content

Commit

Permalink
use the [CPPlatformWindow primaryPlatformWindow] to position the tool…
Browse files Browse the repository at this point in the history
…tips.
  • Loading branch information
primalmotion committed Jan 9, 2013
1 parent 7816510 commit 19f668f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppKit/_CPToolTip.j
Expand Up @@ -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;

Expand Down

0 comments on commit 19f668f

Please sign in to comment.