diff --git a/AppKit/CPMenu/_CPMenuBarWindow.j b/AppKit/CPMenu/_CPMenuBarWindow.j index 55f9563cc..c39596622 100644 --- a/AppKit/CPMenu/_CPMenuBarWindow.j +++ b/AppKit/CPMenu/_CPMenuBarWindow.j @@ -492,6 +492,11 @@ return index; } + // If the mouse is within the menu bar bounds but not over an item + // (e.g. dragging far left or right), force the menu to unhighlight. + if (CGRectContainsPoint([[self contentView] bounds], aPoint)) + [_menu _highlightItemAtIndex:CPNotFound]; + return CPNotFound; }