 import UIKit
 
 class PrecisionSlider_InnerModel {
+	var minimumValue: Double = 0.0
+	var maximumValue: Double = 100.0
+
 	var hasPartialItemBefore = false
 	var sizeOfPartialItemBefore: Double = 0.0
 	

		
		let halfWidth: CGFloat = collectionView.bounds.width / 2
		let midX: CGFloat = collectionView.contentOffset.x + halfWidth
		let x = Double(midX) / scale
		return x
	}
	

			return
		}
		
		let valueAdjusted = value - model.minimumValue
		
		let halfWidth = Double(collectionView.bounds.width / 2)
		let offsetX = CGFloat(round((scale * valueAdjusted) - halfWidth))
		//print("offsetX: \(offsetX)    [ \(scale) * \(value) - \(halfWidth) ]")
		collectionView.setContentOffset(CGPoint(x: offsetX, y: 0), animated: false)
	}
