8000 Bounce transition duration support · Issue #3773 · reactiveui/ReactiveUI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Bounce transition duration support #3773
Open
@glen-nicol

Description

@glen-nicol

Is your feature request related to a problem? Please describe.
I was experiementing with the transitions in the WPF RoutedViewHost and noticed the duration property didn't have any effect when Bounce was set as the transition type. Sure enough I saw the code doesn't use the duration property when setting up bounce. I'm guessing that is because that animation uses key frames?

Describe the solution you'd like
I'd really like to be able to shorten the animation a little bit.

Describe alternatives you've considered
Use a different transition that uses duration.

Describe suggestions on how to achieve the feature
I haven't done much with animations in C code so forgive my ignorance. Is there a scale function that will stretch or compress the keyframe timestamps to match a new duration proportionally? Seems like that could be done fairly easily as a copy and mutate operation too.

Additional context

I would be willing to work this if my assumption about the lack of support is correct. If there is another reason that is more complicated I will just live with it or use a different transition.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0