removed comments

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-08-09 15:54:14 -05:00
parent bcbb3751cf
commit 33062b4b98

View File

@ -147,24 +147,12 @@ open class ToggleView: Control, Changeable {
knobView.layer.insertSublayer(shadowLayer2, at: 0)
let shadowColor = VDSColor.paletteBlack.cgColor
// Drop Shadow 1
// color: black
// Radius (Blur): 10
// Width (x-offset): 0
// Height (y-offset): 1px
// Opacity: 0.24
shadowLayer1.cornerRadius = knobView.layer.cornerRadius
shadowLayer1.shadowColor = shadowColor
shadowLayer1.shadowOpacity = 0.24
shadowLayer1.shadowOffset = .init(width: 0, height: 1)
shadowLayer1.shadowRadius = 5.0
// Drop Shadow 2
// color: black
// Radius (Blur): 2
// Width (x-offset): 0
// Height (y-offset): 2px
// Opacity: 0.08
shadowLayer2.cornerRadius = knobView.layer.cornerRadius
shadowLayer2.shadowColor = shadowColor
shadowLayer2.shadowOpacity = 0.08