Skip to content

fix: pass n_ticks instead of n_colors in preset click handler#16

Merged
patrickoleary merged 1 commit into
mainfrom
fix/preset-click-n-ticks
May 31, 2026
Merged

fix: pass n_ticks instead of n_colors in preset click handler#16
patrickoleary merged 1 commit into
mainfrom
fix/preset-click-n-ticks

Conversation

@patrickoleary

Copy link
Copy Markdown
Member

The preset list click handler was passing n_colors (255) as the last argument to update_color_preset, which expects n_ticks (default 5). On re-click of the active preset, this produced ~255 tick marks instead of the expected 4-6. Single-line fix: {name}.n_colors{name}.n_ticks.

@patrickoleary patrickoleary merged commit e722f30 into main May 31, 2026
5 of 6 checks passed
@patrickoleary patrickoleary deleted the fix/preset-click-n-ticks branch May 31, 2026 16:04
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