     
     private var minimumValue: Float = 0
     private var maximumValue: Float = 1
+    private var currentValue: Float = 0
     
     // MARK: - UIView
     

    }
    
    func setValue(value: Float) {
        
        let value = max(minimumValue, min(maximumValue, value))
        let percentage = (value - minimumValue) / (maximumValue - minimumValue)
        
        scrollView.contentOffset = CGPoint(
            x: CGFloat(percentage) * (scrollView.contentSize.width - bounds.size.width),
            y: 0
        )
        
        debugPrint("value = \(value), contentOffset = \(scrollView.contentOffset)")
    }
    
    // MARK: - UIScrollViewDelegate

        
        thumbView.sizeToFit()
        thumbView.center = bounds.center
        
        adjustScrollViewOffset()
    }
    
    // MARK: - RotationSliderView
