Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored Animatable into the element tree and fixed some bugs #18

Merged
merged 1 commit into from
Feb 19, 2024

Commits on Feb 19, 2024

  1. Refactored Animatable into the element tree and fixed some bugs

    Having Animatables in vhe view has some issues, e.g. memoize doesn't work.
    (It was never planned to keep it there anyway, but for simplicity it was done like this for now)
    It also requires for each animation update to rerender the whole view.
    (This happens currently non-the-less, but can be changed in the future)
    
    This moves the Animatable and Tweenable logic into the element tree,
    and adds a new ChangFlag `ANIMATION`.
    `Animatable` and `Tweenable` slowly converge back to `View` traits
    And can thus be genereated as such to have support for other core views like memoize etc. :).
    
    There were also a few issues with pods not being marked (`Pod::mark`) in
    the owner views
    Philipp-M committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    5797db3 View commit details
    Browse the repository at this point in the history