Closed wumaolinmaoan closed 5 months ago
The SpriteColorPlayable
class in sprite-item.ts
has been updated to include a new conditional block. This block normalizes the startColor
values by dividing them by 255 if clipData.startColor
exists before assigning it to this.startColor
. This ensures that the color values are standardized.
File | Change Summary |
---|---|
packages/.../src/plugins/sprite/sprite-item.ts |
Added a conditional block to normalize startColor values by dividing by 255 if clipData.startColor exists. |
In code where colors blend and play,
A tweak was made, a bright array.
Normalized hues now dance with glee,
Divided by 255, set free!
🎨✨— A rabbit's joy in every byte,
Coding changes that feel just right.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit