Hyena.Widgets.SmoothScrolledWindow.DecelerateCore C# (CSharp) Méthode

DecelerateCore() protected méthode

protected DecelerateCore ( double velocity ) : double
velocity double
Résultat double
        protected virtual double DecelerateCore (double velocity)
        {
            return velocity - Math.Max (3, 0.2 * velocity);
        }