Skip to content

fix: add missing PenColor.HIGHLIGHT to RM_PALETTE#45

Closed
h6y3 wants to merge 1 commit intoricklupton:mainfrom
h6y3:fix/add-highlight-color
Closed

fix: add missing PenColor.HIGHLIGHT to RM_PALETTE#45
h6y3 wants to merge 1 commit intoricklupton:mainfrom
h6y3:fix/add-highlight-color

Conversation

@h6y3
Copy link
Copy Markdown

@h6y3 h6y3 commented Jan 30, 2026

Fix KeyError: 9 when converting files using highlight color. Adds PenColor.HIGHLIGHT with default yellow (255, 255, 0).

The RM_PALETTE was missing PenColor.HIGHLIGHT (color ID 9), causing
KeyError crashes when converting files that use the highlight color.

This adds the missing entry with a default yellow color (255, 255, 0)
to allow conversion to complete successfully.
@ricklupton
Copy link
Copy Markdown
Owner

Thanks, handled slightly differently in 2bd4836

@ricklupton ricklupton closed this Apr 5, 2026
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