Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/rism-digital/verovio int…
Browse files Browse the repository at this point in the history
…o develop
  • Loading branch information
lpugin committed Sep 21, 2023
2 parents 974243d + 4bead81 commit 1dec6a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_commit():
"""Call tools/get_git_commit.sh on any platform."""
if os.path.exists('./tools'):
print('running tools/get_git_commit.sh')
os.system('bash -c "cd tools; ./get_git_commit.sh"')
os.system('sh -c "cd tools; ./get_git_commit.sh"')
else:
print('tools directory is missing')

Expand Down
4 changes: 4 additions & 0 deletions src/iomusxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3701,6 +3701,10 @@ void MusicXmlInput::ReadMusicXmlPrint(pugi::xml_node node, Section *section)
Sb *sb = new Sb();
section->AddChild(sb);
}

if (std::string(node.child("measure-numbering").text().as_string()) == "none") {
m_doc->GetCurrentScoreDef()->SetMnumVisible(BOOLEAN_false);
}
}

bool MusicXmlInput::ReadMusicXmlBeamsAndTuplets(const pugi::xml_node &node, Layer *layer, bool isChord)
Expand Down
2 changes: 1 addition & 1 deletion src/view_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ void View::DrawFermata(DeviceContext *dc, Fermata *fermata, Measure *measure, Sy
continue;
}

const int staffSize = staff->m_drawingStaffSize;
const int staffSize = staff->GetDrawingStaffNotationSize();
const int y = fermata->GetDrawingY();

const int width = (symbolDef) ? symbolDef->GetSymbolWidth(m_doc, staffSize, drawingCueSize)
Expand Down

0 comments on commit 1dec6a3

Please sign in to comment.