From eda9379e3719cafe8434618643380218c8eefd71 Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Wed, 20 May 2020 17:08:43 -0400 Subject: [PATCH] adjusment --- MVMCoreUI/Atomic/Atoms/Views/LoadingSpinner.swift | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/Views/LoadingSpinner.swift b/MVMCoreUI/Atomic/Atoms/Views/LoadingSpinner.swift index fbe49535..929bb5ed 100644 --- a/MVMCoreUI/Atomic/Atoms/Views/LoadingSpinner.swift +++ b/MVMCoreUI/Atomic/Atoms/Views/LoadingSpinner.swift @@ -72,12 +72,12 @@ open class LoadingSpinner: View { class var poses: [Pose] { get { return [ - Pose(0.0, 0.000, 0.8), - Pose(0.6, 0.500, 0.5), + Pose(0.0, 0.000, 0.7), + Pose(0.7, 0.500, 0.5), Pose(0.6, 1.000, 0.3), - Pose(0.6, 1.500, 0.1), - Pose(0.2, 1.875, 0.1), - Pose(0.2, 2.250, 0.3), + Pose(0.4, 1.500, 0.2), + Pose(0.3, 1.875, 0.2), + Pose(0.3, 2.250, 0.3), Pose(0.2, 2.625, 0.5), Pose(0.2, 3.000, 0.7) ] @@ -118,6 +118,7 @@ open class LoadingSpinner: View { animation.calculationMode = .linear animation.duration = duration animation.rotationMode = .rotateAuto + animation.fillMode = .forwards animation.isRemovedOnCompletion = false animation.repeatCount = .infinity layer.add(animation, forKey: animation.keyPath)