Skip to content

Commit

Permalink
Update importmxmlpass2.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed May 14, 2024
1 parent 83ce581 commit ed3f897
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions importexport/musicxml/importmxmlpass2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4238,6 +4238,13 @@ void MusicXMLParserDirection::handleRepeats(Measure* measure, const int track, c
measure = measure->prevMeasure();
else if (tb->tid() == Tid::REPEAT_LEFT && !closerToLeft && measure->nextMeasure())
measure = measure->nextMeasure();
#if 0 // TODO
// Temporary solution to indent codas - add a horizontal frame at start of system or midway through
if (tb->isMarker() && toMarker(tb)->markerType() == Marker::Type::CODA) {
MeasureBase* gap = _score->insertBox(ElementType::HBOX, measure);
toHBox(gap)->setBoxWidth(Spatium(10));
}
#endif
tb->setVisible(_visible);
measure->add(tb);
}
Expand Down

0 comments on commit ed3f897

Please sign in to comment.