 	// Updating
 	
 	func update() {
+		
+		let offset = (direction == .Horizontal ? self.frame.size.height : self.frame.size.width)
+		let halfOffset = offset * 0.5
+		var size = self.frame.size
+		if direction == .Horizontal {
+			size.width -= offset
+		}
+		else {
+			size.height -= offset
+		}
+		
+		currentSelectionX = CGFloat(value) * (self.frame.size.width - offset) + halfOffset
+		currentSelectionY = CGFloat(value) * (self.frame.size.height - offset) + halfOffset
+		
 		image = generateHUEImage(self.frame.size)
 	}
 	

			NSParagraphStyleAttributeName: textParagraphStyle,
			NSFontAttributeName: labelFont!]
		
		let textValue: Int = Int(20)
		let text: NSString = "\(textValue)"
		var textRect = circleRect
		textRect.origin.y += (textRect.size.height - (labelFont?.lineHeight)!) * 0.5
		text.drawInRect(textRect, withAttributes: attributes as [NSObject : AnyObject])

	
	var delegate: SwiftThicknessPickerDelegate!
	var direction: PickerDirection = .Horizontal
	var value: Int = 0
	
	// Additional public properties
	
