Closed yiiqii closed 3 months ago
Recent updates were made across three different files in the codebase, focusing on refining calculations, ensuring type consistency, and simplifying plugin configurations. Notable changes include adjustments to a Camera class method for ratio calculation, consistent string conversions for text properties, and streamlined configurations for a demo plugin.
File Path | Change Summary |
---|---|
packages/effects-core/src/camera.ts |
Updated getInverseVPRatio method to compute and return a Vector3 with adjusted values. |
packages/effects-core/src/plugins/text/... |
Modified TextItem class to convert text values to strings explicitly using toString() . |
plugin-packages/spine/demo/src/simple.ts |
Simplified scene loading, added resizeRule: 1 to configuration objects, and removed specific mixDuration settings and play commands. |
A Whimsical Change
The Camera sees the world anew,
Ratios inverted, balanced, true.
TextItem speaks with string so fine,
Each word a jewel in perfect line.
For Spine, the rules are clear and bright,
Resizing paths made just right.
Code refined, with joy we say,
Our project shines in a grand new way! 🌟
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
Bug Fixes
Camera
class'sgetInverseVPRatio
method for more accurate calculations.Refactor
TextItem
class to ensure text values are explicitly converted to strings.resizeRule
configuration.