Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Items in popup menu not selectable when using MacBooks with notch webcam #557

Closed
RickTaylor79 opened this issue Jul 12, 2024 · 0 comments

Comments

@RickTaylor79
Copy link

When a menu extends the boundary of the HISE window, the first few items at the top will not be selectable. This only seems to affect Macs with the notch style camera (An older 2018 MBP running the same OS does not exhibit this behaviour). The "dead spot" is highlighted in red below:

menu1

This has also been reported on the JUCE forum.

A quick and dirty fix is to tell menus to stay within the HISE window by changing line 786 of juce_PopupMenu.cpp from:

auto parentArea = display->safeAreaInsets.subtractedFrom (display->totalArea);

to:

auto parentArea = display->safeAreaInsets.subtractedFrom (display->userArea);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant