From a3e1a5adf03f4de66cbdd139e03c5ef4fa1c1d18 Mon Sep 17 00:00:00 2001 From: Lakr <25259084+Lakr233@users.noreply.github.com> Date: Wed, 3 Jul 2024 11:49:17 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec0389c..5d7c364 100644 --- a/README.md +++ b/README.md @@ -71,14 +71,14 @@ Parameters to control the animation are follow: @Binding var colors: [Color] @Binding var speed: Double @Binding var noise: Double -@Binding var transitionInterval: TimeInterval +@Binding var transitionSpeed: Double ColorfulView( color: $colors, speed: $speed, bias: $bias, noise: $noise, - transitionInterval: $duration, + transitionSpeed: $transitionSpeed, interpolationOption: .lch ) ```