yoavlt / LiquidFloatingActionButton

Material Design Floating Action Button in liquid state
MIT License
3.85k stars 468 forks source link

Change speed or viscosity #56

Open yamila-fraiman opened 8 years ago

yamila-fraiman commented 8 years ago

How can I change the animation speed, without making changes in the lib code?

edwardj728 commented 8 years ago

Yes, look at the code here: class CircleLiquidBaseView : ActionBarBaseView {

yamila-fraiman commented 8 years ago

Could you help me and put the code? I don't know how to modify it outside the lib

edwardj728 commented 8 years ago

In the LiquidFloatingActionButton.swift, find class CircleLiquidBaseView : ActionBarBaseView {. Then change the viscosity from there.

ipagong commented 7 years ago

i think no way to change values when use cocoapod...

durations and viscosity values are not open or public properties.... and override ? also impossible...