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

Introduce a new StrokeWidth component and use it for SeriesLine #5025

Merged
merged 6 commits into from
Feb 4, 2024

Conversation

jleibs
Copy link
Member

@jleibs jleibs commented Feb 2, 2024

What

What the title says.

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

@jleibs jleibs added ui concerns graphical user interface 🟦 blueprint The data that defines our UI include in changelog labels Feb 2, 2024
@jleibs jleibs marked this pull request as ready for review February 2, 2024 16:55
@Wumpf Wumpf self-requested a review February 4, 2024 16:11
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

I'm a bit unsure if this is actually a radius for the line? Haven't checked in-depth. Just assuming it's right ;)

Initially, I wanted this to be a UiSize, but I see how that's too narrow StrokeWidth will do! Although I'm still pondering whether it should be StrokeWidthUi 🤔

@@ -243,6 +243,53 @@ fn default_marker_shape(

// ----

#[allow(clippy::too_many_arguments)]
fn edit_stroke_width_ui(
Copy link
Member

Choose a reason for hiding this comment

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

it would be nice to have a module per editor

@Wumpf Wumpf merged commit 0f20b1a into main Feb 4, 2024
43 checks passed
@Wumpf Wumpf deleted the jleibs/stroke_width branch February 4, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🟦 blueprint The data that defines our UI include in changelog ui concerns graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants