BaseFretPicker

struct BaseFretPicker : View

SwiftUI View with a Picker to select a baseFret value

  • Chord Display Options object

    Declaration

    Swift

    @Bindable
    var chordDisplayOptions: ChordDisplayOptions { get set }
  • The selected bass note

    Declaration

    Swift

    @State
    private var bass: Chord.Root { get nonmutating set }
  • The body of the View

    Declaration

    Swift

    var body: some View { get }
  • Make the label fancy

    Declaration

    Swift

    private func fretLabel(fret: Int) -> String