mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-21 09:55:23 -04:00
fix animator bug
Signed-off-by: zcdqs <junfeng.lijunfeng@huawei.com> Change-Id: I2cdc4c32535232d19fdb6bdf3d7af2fe1f9f4cff
This commit is contained in:
@@ -3189,7 +3189,13 @@ void PipelineContext::OpenImplicitAnimation(
|
||||
if (!context) {
|
||||
return;
|
||||
}
|
||||
context->GetTaskExecutor()->PostTask([finishCallback]() { finishCallback(); }, TaskExecutor::TaskType::UI);
|
||||
context->GetTaskExecutor()->PostTask(
|
||||
[finishCallback]() {
|
||||
if (finishCallback) {
|
||||
finishCallback();
|
||||
}
|
||||
},
|
||||
TaskExecutor::TaskType::UI);
|
||||
};
|
||||
|
||||
Rosen::RSAnimationTimingProtocol timingProtocol;
|
||||
|
||||
Reference in New Issue
Block a user