abcjs
abcjs copied to clipboard
Repeat barline in wrap mode
I use abcjs with wrap option to adapt my site for PC and mobile devices.
I can't find a way to correctly use mid-piece repeats when wrap is enabled. The most problematic part is when score is wrapped before the beginning of repeat.
When repeat starts in the next line, then the previous one should end with a single barline.
If I use |:
only, then there is no barline at the end of line:
C D E F | C D E F |: G A B c | G A B c :|
If I add |
before |:
, then additional barline may appear if piece is wrapped at a different point.
C D E F | C D E F |
|: G A B c | G A B c :|
There's similar problem with both-sides repeat :||:
That's definitely a bug. I'll put it on my list. Thanks for the report.