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

Require a StrokeKind when painting rectangles with strokes #5648

Merged
merged 6 commits into from
Jan 29, 2025

Conversation

emilk
Copy link
Owner

@emilk emilk commented Jan 29, 2025

This is a breaking change, requiring users to think about wether the stroke is inside/centered/outside the rect.

When in doubt, add egui::StrokeKind::Inside to the function call.

Copy link

Preview available at https://egui-pr-preview.github.io/pr/5648-emilkstroke-kind-in-api
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 525d435 into master Jan 29, 2025
46 checks passed
@emilk emilk deleted the emilk/stroke-kind-in-api branch January 29, 2025 14:52
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.

1 participant