Skip to content

Fix unit type assignment and minor logic cleanup#1171

Open
RinZ27 wants to merge 1 commit into
juliangarnier:devfrom
RinZ27:fix/unit-assignment-typo
Open

Fix unit type assignment and minor logic cleanup#1171
RinZ27 wants to merge 1 commit into
juliangarnier:devfrom
RinZ27:fix/unit-assignment-typo

Conversation

@RinZ27

@RinZ27 RinZ27 commented May 17, 2026

Copy link
Copy Markdown

Fixes a typo in src/core/units.js where a comparison was used instead of an assignment, ensuring the unit type is correctly set to UNIT after conversion.

Additional changes included:

  • Simplified a redundant conditional check in src/animatable/animatable.js.
  • Fixed a typo in JSDoc annotations within src/waapi/composition.js.

These changes ensure better data consistency and code clarity within the core animation engine. Fixes #1170.

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.

1 participant