fixed: wrong target for bounds

This commit is contained in:
daboe01 committed 2025-12-26 12:09:15 +01:00
1 parent f0e29069a9
commit dda325b51b
1 file changed
+1 -1
+1 -1
View File
@@ -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;