Skip to content

fix: clear error on empty manual palette#36

Merged
mcanouil merged 2 commits into
mainfrom
fix/empty-manual-palette
May 27, 2026
Merged

fix: clear error on empty manual palette#36
mcanouil merged 2 commits into
mainfrom
fix/empty-manual-palette

Conversation

@mcanouil
Copy link
Copy Markdown
Owner

scale-*-manual(values: ()) panicked inside palette-at with an opaque divide-by-zero.

  • palette-at now fails fast with a clear message when the palette is empty.

@mcanouil mcanouil added the Type: Bug 🐛 Issues related to bugs, errors, or mistakes label May 27, 2026
@mcanouil mcanouil self-assigned this May 27, 2026
@mcanouil mcanouil force-pushed the fix/empty-manual-palette branch from 150facf to ba32cef Compare May 27, 2026 20:10
@mcanouil mcanouil merged commit bada865 into main May 27, 2026
4 checks passed
@mcanouil mcanouil deleted the fix/empty-manual-palette branch May 27, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug 🐛 Issues related to bugs, errors, or mistakes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant