         }
         
         guard .circle == shapePreset else {
+            cornerRadius = 0
             return
         }
         


import UIKit

fileprivate struct MaterialLayer {
    /// A reference to the CALayer.
    fileprivate weak var layer: CALayer?
    

    }
    
    /// A preset property to set the shape.
    fileprivate var shapePreset = ShapePreset.none {
        didSet {
            layer?.layoutShape()
        }
    }
    
    /// A preset value for Depth.
    fileprivate var depthPreset: DepthPreset {
