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

Remove StrokeKind::default #5658

Merged
merged 2 commits into from
Jan 30, 2025
Merged

Remove StrokeKind::default #5658

merged 2 commits into from
Jan 30, 2025

Conversation

emilk
Copy link
Owner

@emilk emilk commented Jan 30, 2025

Since there is no natural default for RectShape.

Since there is no natural default for RectShape
Copy link
Contributor

@juancampa juancampa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me

@@ -63,29 +63,30 @@ pub enum StrokeKind {
Inside,

/// The stroke should be painted right on the edge of the shape, half inside and half outside.
Middle,
Middle, // TODO(emilk): rename to "Center" to match figma?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used photoshop's terminology but either one works

Copy link

Preview available at https://egui-pr-preview.github.io/pr/5658-emilkremove-default-path-stroke
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 4b9da5f into master Jan 30, 2025
17 checks passed
@emilk emilk deleted the emilk/remove-default-path-stroke branch January 30, 2025 20: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