feat: ProcessingView 脉冲动画微调

- 动画时长从 1.5s 调整为 2.0s(更平缓自然)
- 脉冲尺寸差从 160↔180 调整为 160↔175(更微妙克制)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
empty
2026-02-07 21:14:48 +08:00
parent 4588c7c1eb
commit 846d8ea8d7

View File

@@ -54,7 +54,7 @@ struct ProcessingView: View {
await startProcessing()
}
.onAppear {
withAnimation(.easeInOut(duration: 1.5).repeatForever(autoreverses: true)) {
withAnimation(.easeInOut(duration: 2.0).repeatForever(autoreverses: true)) {
pulseAnimation = true
}
}
@@ -88,8 +88,8 @@ struct ProcessingView: View {
//
Circle()
.fill(Color.accentPurple.opacity(0.1))
.frame(width: pulseAnimation ? 180 : 160, height: pulseAnimation ? 180 : 160)
.animation(.easeInOut(duration: 1.5).repeatForever(autoreverses: true), value: pulseAnimation)
.frame(width: pulseAnimation ? 175 : 160, height: pulseAnimation ? 175 : 160)
.animation(.easeInOut(duration: 2.0).repeatForever(autoreverses: true), value: pulseAnimation)
//
SoftProgressRing(