!44924 修复环形progress设置渐变色不生效5.0.0

Merge pull request !44924 from 徐钦锋/cherry-pick-1727677105
This commit is contained in:
openharmony_ci 2024-10-06 07:18:11 +00:00 committed by Gitee
commit 0eaef256dd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -233,7 +233,7 @@ void ProgressModifier::StartCapsuleSweepingAnimationImpl(float value, float spee
void ProgressModifier::SetRingProgressColor(const Gradient& color)
{
CHECK_NULL_VOID(ringProgressColors_);
ringProgressColors_ = AceType::MakeRefPtr<AnimatablePropertyVectorColor>(GradientArithmetic(color));
ringProgressColors_->Set(GradientArithmetic(color));
}
void ProgressModifier::SetPaintShadow(bool paintShadow)