 	}
 	
 	func computeItemSize() -> CGSize {
-		return CGSize(width: model.scaleRounded, height: PrecisionSlider_InnerModel.height)
+		return CGSize(width: CGFloat(model.scaleRounded), height: PrecisionSlider_InnerModel.height)
 	}
 	
 	lazy var layout: PrecisionSlider_InnerCollectionViewFlowLayout = {

			originalValue = self.value
		}
		if gesture.state == .Changed {
			var scale = originalScale * gesture.scale
			if scale < 0.0 {
				scale = 0.01
			}

		return instance
	}()
	
	var value: Double? {
		let scale = model.scaleRounded
		if scale < 0.1 {
			return nil
		}
		
		let halfWidth: CGFloat = collectionView.bounds.width / 2
		let midX: CGFloat = collectionView.contentOffset.x + halfWidth
		let x = Double(midX) / scale
		return x
	}
	
	func scrollToValue(value: Double) {
		let scale = model.scaleRounded
		if scale < 0.1 {
			return
		}
		
		let halfWidth = Double(collectionView.bounds.width / 2)
		let offsetX = CGFloat(round((scale * value) - halfWidth))
		collectionView.setContentOffset(CGPoint(x: offsetX, y: 0), animated: false)
	}
	
