Skip to content

EasingFunctionBase should implement the correct Ease overload #12213

Closed

Description

@Youssef1313

The currently implemented overload:

public virtual double Ease(double currentTime, double startValue, double finalValue, double duration) =>
// Return linear interpolation instead of an exception for unimplemented easing functions.
currentTime == 0 ? startValue : Lerp(startValue, finalValue, currentTime / duration);

The correct non-implemented overload:

#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public double Ease( double normalizedTime)
{
throw new global::System.NotImplementedException("The member double EasingFunctionBase.Ease(double normalizedTime) is not implemented. For more information, visit https://aka.platform.uno/notimplemented?m=double%20EasingFunctionBase.Ease%28double%20normalizedTime%29");
}
#endif

Activity

  1. added
    kind/enhancement
    triage/untriaged
    difficulty/tbd
    on May 9, 2023
  2. self-assigned this
    on May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty/tbdkind/enhancementtriage/untriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions