You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm animating a Progress component, and I'm wondering if it's necessary to round the width percentage of the filled in portion of the bar. This causes the animation to be extremely jumpy when going from one full percentage point to the next.
Perhaps animation is outside the intended scope of this component, but would it hurt to either remove the round function or round it to a one or two decimal places, as opposed to whole numbers?
The text was updated successfully, but these errors were encountered:
petal_components/lib/petal_components/progress.ex
Line 22 in 39a2b5f
I'm animating a Progress component, and I'm wondering if it's necessary to
round
the width percentage of the filled in portion of the bar. This causes the animation to be extremely jumpy when going from one full percentage point to the next.Perhaps animation is outside the intended scope of this component, but would it hurt to either remove the
round
function or round it to a one or two decimal places, as opposed to whole numbers?The text was updated successfully, but these errors were encountered: