rive-app / rive-wasm

Wasm/JS runtime for Rive
MIT License
660 stars 46 forks source link

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

Open samavati opened 1 week ago

samavati commented 1 week 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 1 week 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