Skip to content

Conversation

@flekschas
Copy link
Owner

This PR fixes a regression from #208 that prevented new point colors from being set if the old point colors were a prefix of the new point colors

Description

What was changed in this pull request?

I forgot to check whether the old and new point colors have the same length in isSameRgbas()

Why is it necessary?

Fixes #214

Example

regl-fix.mp4

Checklist

  • Provided a concise title as a semantic commit message (e.g. "fix: correctly handle undefined properties")
  • CHANGELOG.md updated
  • Tests added or updated
  • Documentation in README.md added or updated
  • Example(s) added or updated
  • Screenshot, gif, or video attached for visual changes

@flekschas flekschas merged commit 0d06887 into main Feb 10, 2025
2 checks passed
@flekschas flekschas deleted the flekschas/fix-encoding-optimization branch February 10, 2025 21:09
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.

Point colors default to black even though they are provided

2 participants