rive-app / rive-wasm

Wasm/JS runtime for Rive
MIT License
735 stars 52 forks source link

refactor(layout): add Layout class and enums for canvas fit and align… #358

Open samavati opened 5 months ago

samavati commented 5 months ago

Layout module refactor

Description

This pull request refactors the existing Layout class and related enums for managing the fit and alignment of Rive animations within an HTML canvas. The refactoring aims to improve code organization, maintainability, and adherence to best practices.

Changes

Benefits

Documentation

Risks

No significant risks have been identified.

samavati commented 4 months ago

Hi @HayesGordon ,

I haven't heard back about this pull request yet and I'm eager to get your feedback on the refactoring changes to the Layout class.

Thanks for your time! Ehsan