These are chat archives for AvaloniaUI/Avalonia
Setterclass in animations and I've found a few roadblocks. First one is how we would determine which
Animatorsubclass to use for each type of value. This is currently handled via attributes on the setter types. Second,
Setterhas a lot of behavior that's tied to the styling/template/namescope layer that is completely not applicable to how it would be used in the animation layer.
IAnimationSetterand solve the second problem, but I'm not sure about how to solve the first problem.
Setter, which we could do.
IAnimationSetterand the animations code will add a special case for it
GetAnimatorthat creates the right animator. That should work.
Setterwill have a
GetAnimatormethod and from that method, it'll return the proper animator type depending on the
Setters target prop?
DoubleAnimatoron it 😂