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

Add DebugOptions::show_unaligned #5165

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Conversation

emilk
Copy link
Owner

@emilk emilk commented Sep 25, 2024

This tool highlights coordinates that are non-integer.

This is disabled by default (even in debug builds), because so many widgets cause un-alignment currently.

This is how it looks when enabled:
image

This tool highlights coordinates that are non-integer.

* Closes #4927
* Will be used for #5163

This is disabled by default (even in debug builds),
because so many widgets cause un-alignment currently.
Copy link

Preview available at https://egui-pr-preview.github.io/pr/5165-emilk/show-unaligned-widgets
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk emilk merged commit 5d46f67 into master Sep 25, 2024
42 checks passed
@emilk emilk deleted the emilk/show-unaligned-widgets branch September 25, 2024 14:05
@abey79
Copy link
Collaborator

abey79 commented Sep 25, 2024

Awesome!

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.

Debug tool to highlight unaligned cursor coordinates
2 participants