 // MARK: - Recording
 public extension RecordView {
     func beginRecording() -> Bool {
-        if !isEnabled { return false }
-        if isRecording { return true }
+        guard isEnabled else { return false }
+        guard !isRecording else { return true }
 
         needsDisplay = true
 

            return false
        }

        willChangeValue(forKey: "recording")
        isRecording = true
        didChangeValue(forKey: "recording")

        updateTrackingAreas()

        return true
    }

    func endRecording() {
        if !isRecording { return }

        inputModifiers = NSEvent.ModifierFlags(rawValue: 0)
        doubleTapModifier = NSEvent.ModifierFlags(rawValue: 0)
        multiModifiers = false

        willChangeValue(forKey: "recording")
        isRecording = false
        didChangeValue(forKey: "recording")

        updateTrackingAreas()
        needsDisplay = true



    open weak var delegate: RecordViewDelegate?
    open var didChange: ((KeyCombo?) -> Void)?
    @objc dynamic open private(set) var isRecording = false
    open var keyCombo: KeyCombo? {
        didSet { needsDisplay = true }
    }
