                 refreshing = ratio >= 1
                 
                 indicator.strokeRatio(ratio)
+                rotateRatio(ratio)
             }
         }
         

            }
            
            return abs(offsetY / bounds.height)
        }
    }
}

        
        CATransaction.begin()
        CATransaction.setDisableActions(true)
        pathLayer?.strokeStart = 0
        pathLayer?.strokeEnd = value
        CATransaction.commit()
