Skip to content

Commit

Permalink
avoid greying out repeats
Browse files Browse the repository at this point in the history
  • Loading branch information
lshman committed Jul 30, 2024
1 parent 60afb34 commit a8eb8fd
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 a8eb8fd

Please sign in to comment.