Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Dec 4, 2023
1 parent ca54e64 commit bb824ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/importexport/musicxml/internal/musicxml/exportxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5250,7 +5250,10 @@ void ExportMusicXml::textLine(TextLineBase const* const tl, staff_idx_t staff, c
{
using namespace mu::draw;

if (tl->lineVisible() && (tl->beginText().isEmpty() || tl->endText().isEmpty())) return;
if (!tl->lineVisible() && ((tl->beginText().isEmpty() && tl->tick() == tick)
|| (tl->endText().isEmpty() && tl->tick() != tick))) {
return;
}

int n;
// special case: a dashed line w/o hooks is written as dashes
Expand Down

0 comments on commit bb824ff

Please sign in to comment.