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

Make the ends of vline/hline sharper #5676

Merged
merged 6 commits into from
Feb 4, 2025
Merged

Make the ends of vline/hline sharper #5676

merged 6 commits into from
Feb 4, 2025

Conversation

emilk
Copy link
Owner

@emilk emilk commented Feb 4, 2025

TL;DR: line caps are annoying in two ways:

A) we only add them for lines wider than a pixel
B) they always make the line longer (if added)

@emilk emilk marked this pull request as draft February 4, 2025 14:08
Copy link

github-actions bot commented Feb 4, 2025

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

@emilk emilk marked this pull request as ready for review February 4, 2025 14:23
@emilk emilk requested a review from lucasmerlin as a code owner February 4, 2025 14:23
@emilk emilk merged commit c6bda9a into master Feb 4, 2025
46 checks passed
@emilk emilk deleted the emilk/fix-rect-edges branch February 4, 2025 14:31
@emilk emilk restored the emilk/fix-rect-edges branch February 4, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant