mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-17 04:00:42 +00:00
Temporary fix until Francisco merges in the menu branch.
This commit is contained in:
1 parent
01d60ad4e9
commit
936d65291f
1 file changed
+1
-1
+1
-1
@@ -1292,7 +1292,7 @@ var STICKY_TIME_INTERVAL = 500,
|
||||
|
||||
var menuLocation = [self convertGlobalToBase:globalLocation],
|
||||
activeItemIndex = [_menuView itemIndexAtPoint:[_menuView convertPoint:menuLocation fromView:nil]],
|
||||
mouseOverMenuView = [[menu itemAtIndex:activeItemIndex] view];
|
||||
mouseOverMenuView = activeItemIndex !== CPNotFound ? [[menu itemAtIndex:activeItemIndex] view] : nil;
|
||||
|
||||
// If we're over a custom menu view...
|
||||
if (mouseOverMenuView)
|
||||
|
||||
Reference in new issue
Block a user