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

Context Menus going off the edge of the screen #28

Open
WasabiRaptor opened this issue Jun 11, 2022 · 2 comments
Open

Context Menus going off the edge of the screen #28

WasabiRaptor opened this issue Jun 11, 2022 · 2 comments

Comments

@WasabiRaptor
Copy link

Context menus, if used by a UI element near the bottom or right edge of the screen, can go off the edge and leave some of its selections either partially unreadable, or not visible or selectable on the whole, context menus should go upwards and be offset horizontally from the click so as to not go off the edge of the screen

@zetaPRIME
Copy link
Owner

zetaPRIME commented Jun 11, 2022 via email

@WasabiRaptor
Copy link
Author

as this is mainly a problem with UIs that are anchored to the bottom and right corner of the screen, for those ones I don't believe it should be too hard to do some math based off of the canvas click position, knowing the window size and anchor offsets and all

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

2 participants