mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-22 09:23:53 +08:00
Fix AbstractMotion bug
This commit is contained in:
@@ -96,15 +96,11 @@ public class AbstractMotion : IMotion
|
||||
void FinishedCallback () {
|
||||
actor.DisableTransitions();
|
||||
actor.NotifyMotionCompleted();
|
||||
NotifyCompleted(actor);
|
||||
completedAction?.Invoke();
|
||||
actor.RenderTransformOrigin = originRenderTransformOrigin;
|
||||
actor.MotionTransform = null;
|
||||
|
||||
Dispatcher.UIThread.Post(() =>
|
||||
{
|
||||
NotifyCompleted(actor);
|
||||
completedAction?.Invoke();
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
Dispatcher.UIThread.Post(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user