 		mediumShadow.cornerRadius = smallShadow.cornerRadius
 		mediumShadow.backgroundColor = NSColor.redColor().CGColor
 		mediumShadow.shadowColor = NSColor.blackColor().CGColor
-		mediumShadow.shadowOffset = CGSize(width: 0, height: -8 * effectScale)
+		mediumShadow.shadowOffset = CGSize(width: 0, height: -9 * effectScale)
 		mediumShadow.shadowOpacity = 0.16
 		mediumShadow.shadowRadius = 6.0 * effectScale
 

public class JSSwitch: NSControl {
	public override var wantsUpdateLayer: Bool {
		return true
	}

	private var pressed = false

		bigShadow.cornerRadius = smallShadow.cornerRadius
		bigShadow.backgroundColor = NSColor.redColor().CGColor
		bigShadow.shadowColor = NSColor.blackColor().CGColor
		bigShadow.shadowOffset = CGSize(width: 0, height: -9 * effectScale)
		bigShadow.shadowOpacity = 0.06
		bigShadow.shadowRadius = 0.5 * effectScale
	}
