Open Noitidart opened 10 years ago
Use GitHubGIST :: Noitidart / _js-snippet-PointOnCubicBezier.js to figure out the time the height of the stack
will reach the height of PanelUI.height - (PUIFooter.height - stack.height)
. Then use GitHubGIST :: Noitidart / _js-snippet-CubicBezierSplit.js to create the cubic-bezier
for PanelUI
, and the duration should be final time minus the time calced in first part.
When lots of profiles, and panel has to grow in height downwards so it can show all profiles/buttons, whitespace is shown.
This is due to the animation function of the menu AND the panel height growth starting at time 0. What happens is when the menu is expanding and reaches the top, so now menu height == panel height, THEN I should start the the panel animation to grow down.
But because I use ease transition function I have to split the bezier curve of the animation. I need to calculate from this split function the delay time, to when to start the panel height growth, this should pick up with the split bezier transition function.
Do reverse of the split bezier functions on collapse.