Skip to content

chore(LineSource): prevent negative resolution in example - #3580

Open
Jo-Byr wants to merge 1 commit into
Kitware:masterfrom
Jo-Byr:prevent-negative-line-resolution-in-line-source-example
Open

chore(LineSource): prevent negative resolution in example#3580
Jo-Byr wants to merge 1 commit into
Kitware:masterfrom
Jo-Byr:prevent-negative-line-resolution-in-line-source-example

Conversation

@Jo-Byr

@Jo-Byr Jo-Byr commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Context

LineSource example allows setting the line resolution as a negative number.

Results

The minimum resolution now is 0.

Changes

Added .min(0) to the lil-gui widget creation.

PR and Code Checklist

  • semantic-release commit messages
  • Run npm run reformat to have correctly formatted code

@Jo-Byr
Jo-Byr requested a review from daker July 27, 2026 07:58
@Jo-Byr Jo-Byr self-assigned this Jul 27, 2026

@daker daker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants