Closed SaschaMzH closed 1 year ago
Thanks for your pull-request; a very useful addition!
The 'define parser' works great!
However, a few issues:
I would really like to merge this when above is fixed. Would you like to work on that or shall I merge it 'as is' and take it from there?
Yes I will take care of this. I have to update my system.
A custom define will overwrite a standard define if the define will be at the beginning of the song. Before the the first use of a chord. this behaviour will have the possibility to have more definition for one chord.
Ah, I see! I did the define at the bottom. Still a bit confusing in the song view and diagrams. Reading the 'chord pro' site; they mark custom chords with an asterisk. I will just merge this; fix the macOS target and take it from there! Thanks!
With this implementation, the chords that can be defined in the editor are also displayed correctly. Unfortunately, a small modification had to be made to the self-defined chord. The chords are no longer recognized by their key and suffix but stored directly in it. Afterwards the class ChordPosition of SwiftyChords could be extended by a new constructor which also allows own chords. Finally the view was extended so that only chords with finger definition are displayed if they are present.