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

Note context menu refactoring #328

Merged
merged 9 commits into from
Sep 26, 2024
Merged

Note context menu refactoring #328

merged 9 commits into from
Sep 26, 2024

Conversation

jb55
Copy link
Contributor

@jb55 jb55 commented Sep 26, 2024

This is a continuation of:

with style updates and refactorings

kernelkind and others added 9 commits September 19, 2024 19:04
egui doesn't support custom buttons so
`stationary_arbitrary_menu_button` had to be hacked together

Signed-off-by: kernelkind <[email protected]>
forgot to add this part

Signed-off-by: kernelkind <[email protected]>
Moved this to NoteOptionSelection::process

Signed-off-by: William Casarin <[email protected]>
No reason why this needs to be a standalone bool

Signed-off-by: William Casarin <[email protected]>
Otherwise it stands out too much

Signed-off-by: William Casarin <[email protected]>
This updates the context menu to "float" instead of using the layout
engine. This is so that we don't take up an unnecessary amount of space
when we increase the hitbox height.

Signed-off-by: William Casarin <[email protected]>
So we know its clickable. I mean the animation signals that as well, but
still.

Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 merged commit 13d6873 into master Sep 26, 2024
6 of 8 checks passed
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