[C] fix TranslateTo for easing going outside of (0,1) (#414)
This commit is contained in:
Родитель
6f00e078ec
Коммит
b9873a1b1b
|
@ -188,7 +188,7 @@ namespace Xamarin.Forms
|
|||
if (weakView.TryGetTarget(out v))
|
||||
v.TranslationY = f;
|
||||
};
|
||||
new Animation { { 0, 1, new Animation(translateX, view.TranslationX, x) }, { 0, 1, new Animation(translateY, view.TranslationY, y) } }.Commit(view, "TranslateTo", 16, length, easing,
|
||||
new Animation { { 0, 1, new Animation(translateX, view.TranslationX, x, easing: easing) }, { 0, 1, new Animation(translateY, view.TranslationY, y, easing:easing) } }.Commit(view, "TranslateTo", 16, length, null,
|
||||
(f, a) => tcs.SetResult(a));
|
||||
|
||||
return tcs.Task;
|
||||
|
|
Загрузка…
Ссылка в новой задаче