From 5c5a0b5024a43ffafede67de65c152a56f3856e0 Mon Sep 17 00:00:00 2001 From: pssea Date: Wed, 14 Apr 2021 16:59:50 +0800 Subject: [PATCH] refactor animator Change-Id: I9a0977caaae2f7f1a388f19ff1ccb506da9d2de0 --- test/sample_window.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/test/sample_window.cpp b/test/sample_window.cpp index 54bdfef..89c0ee5 100755 --- a/test/sample_window.cpp +++ b/test/sample_window.cpp @@ -221,7 +221,6 @@ void TestWindow() auto imageAnimCallback = new ImageAnimatorCallbackDemo(); Animator* imageAnimator = new Animator(imageAnimCallback, g_rootView1, 0, true); - AnimatorManager::GetInstance()->Add(imageAnimator); imageAnimator->Start(); CreateDefaultWindow(g_rootView1, 0, 50); // 50: y -- Gitee