LarryKu/vexflow — comment on commit 0bd43ca5c61030c9e9af051a22a2ecbc10982ce4
File: src/stave.js line 54
By 0xfe:

Can you decouple this part? One way would be to have Barline call setNoteStartX(getNoteStartX + some_shift_value) for REPEAT_BEGIN.

The bar lines have to be coupled with this class, then add a table of start_x shifts for the different barlines (or a shift value in each implementation.)