forked from openlp/openlp
Support "|" as "barline" in chords layer
This commit is contained in:
parent
b9ef947cb0
commit
32afafce72
@ -646,6 +646,12 @@ def transpose_chord(chord, transpose_value, notation):
|
||||
current_chord = current_chord[1:]
|
||||
else:
|
||||
current_chord = ''
|
||||
if current_chord and current_chord[0] == '|':
|
||||
transposed_chord += '|'
|
||||
if len(current_chord) > 1:
|
||||
current_chord = current_chord[1:]
|
||||
else:
|
||||
current_chord = ''
|
||||
if len(current_chord) > 0:
|
||||
if len(current_chord) > 1:
|
||||
if '#b'.find(current_chord[1]) == -1:
|
||||
|
Loading…
Reference in New Issue
Block a user