Skip to content

Remove StrokeKind::default - #5658

Merged
emilk merged 2 commits into
masterfrom
emilk/remove-default-path-stroke
Jan 30, 2025
Merged

emilk merged 2 commits into
masterfrom
emilk/remove-default-path-stroke

Conversation

@emilk

@emilk emilk commented Jan 30, 2025

Copy link
Copy Markdown
Owner

Since there is no natural default for RectShape.

Since there is no natural default for RectShape

@juancampa juancampa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Makes sense to me

Comment thread crates/epaint/src/stroke.rs Outdated

/// 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
Copy Markdown
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

@github-actions

Copy link
Copy Markdown

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
@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