mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-15 03:03:50 +00:00
fixed: wrong target for bounds
This commit is contained in:
1 parent
f0e29069a9
commit
dda325b51b
1 file changed
+1
-1
@@ -473,7 +473,7 @@
|
||||
|
||||
// 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 bounds], aPoint))
|
||||
if (CGRectContainsPoint([[self contentView] bounds], aPoint))
|
||||
[_menu _highlightItemAtIndex:CPNotFound];
|
||||
|
||||
return CPNotFound;
|
||||
|
||||
Reference in new issue
Block a user