Skip to content

Commit

Permalink
Merge remote-tracking branch 'lman/bug-1672-multiple-segments'
Browse files Browse the repository at this point in the history
  • Loading branch information
tedfelix committed Aug 1, 2024
2 parents fe8ea0a + a8eb8fd commit 9e623be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/editors/notation/NotationScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ NotationScene::setCurrentStaff(NotationStaff *staff)
m_highlightMode == "highlight_current_on_track") highlight = false;
if (iStaff != currentStaff &&
m_highlightMode == "highlight_current") highlight = false;
// do not affect repeats
if (iSegment->isTmp()) highlight = true;

RG_DEBUG << "highlight staff" << highlight;
m_staffs[i]->setHighlight(highlight);
Expand Down

0 comments on commit 9e623be

Please sign in to comment.