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

Implement popover hinting #5967

Merged
merged 3 commits into from
Aug 16, 2023
Merged

Implement popover hinting #5967

merged 3 commits into from
Aug 16, 2023

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Aug 16, 2023

This is intended to be used for ppy/osu#12045.

The "hinting" in question is more specifically allowing popovers to specify on which sides of the target drawable they're allowed to display, which is achieved by setting the popover's AllowableAnchors. This comes in handy in cases like the above when sometimes you want to control the autolayout algorithm so that the popover can only be shown on the sides of a button.

2023-08-16.10-21-58.mp4

bdach added 3 commits August 16, 2023 10:19
Technically a breaking change, but nobody should really be using this
outside of framework.
@peppy peppy self-requested a review August 16, 2023 09:02
@peppy peppy enabled auto-merge August 16, 2023 09:08
@peppy peppy merged commit 38aa774 into ppy:master Aug 16, 2023
@bdach bdach deleted the popover-hinting branch August 16, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants