mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-13 20:17:07 +00:00
use the [CPPlatformWindow primaryPlatformWindow] to position the tooltips.
This commit is contained in:
1 parent
7816510fdf
commit
19f668f4f6
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user