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

Reverse animation to 0 #61

Open
glitch182 opened this issue Mar 22, 2018 · 2 comments
Open

Reverse animation to 0 #61

glitch182 opened this issue Mar 22, 2018 · 2 comments

Comments

@glitch182
Copy link

I am trying to animate the FluidView from top (1.0) to bottom (0.0)
On doing so, the FluidView just remains at the top, without any reverse animation.

I tried animating from 1.0 to 0.1, with a fillDuration of 7, but the FluidView just quickly animates to 0.1 in one second.

Here is the code for reference:

fluidView = BAFluidView(frame: fluidViewFrame, maxAmplitude: 25, minAmplitude: 20, amplitudeIncrement: 5, startElevation: 1.0)
fluidView.backgroundColor = LIGHTER_GRAY
fluidView.fillAutoReverse = false
fluidView.fillDuration = 7
fluidView.strokeColor = OFF_WHITE
fluidView.fillRepeatCount = 1
fluidView.fillColor = WHITE
fluidView.fill(to: 0.0)
@antiguab
Copy link
Owner

antiguab commented Jan 2, 2019

Do you still need help here?

@bizibizi
Copy link

@antiguab have the same issue, any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants