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

🧰: align world menus within visible bounds #1063

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

merryman
Copy link
Member

Something that was super annoying up till now, is that world menus would appear not necessarily within the visible bounds of the world, having them cut off often when working on smaller screens. This fixes that, by moving the menu into the visible bounds to the extent its possible. It relies on whenRendered() since layouts are updating their bounds in an asynchronous fashion.

@merryman merryman requested a review from linusha October 12, 2023 15:01
Copy link
Contributor

@linusha linusha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nice, this was indeed annoying! Let me check tomorrow if there is a performance impact on non-superb systems, although I not expect this to be problematic.

@linusha linusha merged commit 6a89749 into main Oct 13, 2023
6 checks passed
@linusha linusha deleted the enhancement/move-menus-into-world branch October 13, 2023 12:56
@merryman merryman mentioned this pull request Oct 25, 2023
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

Successfully merging this pull request may close these issues.

2 participants