Skip to content

Commit

Permalink
Merge pull request #134 from DDMAL/redundant-bbox
Browse files Browse the repository at this point in the history
Remove redundant text for new syl in SetText()
  • Loading branch information
yinanazhou authored Mar 14, 2024
2 parents 4eddf05 + 20e5468 commit dd8f3e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/editortoolkit_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1895,11 +1895,7 @@ bool EditorToolkitNeume::SetText(std::string elementId, const std::string &text)
std::u32string str = U"";
text->SetText(str);
syl->AddChild(text);

syllable->AddChild(syl);
Text *textChild = new Text();
textChild->SetText(wtext);
syl->AddChild(textChild);
if (m_doc->GetType() == Facs) {
// Create a default bounding box
Zone *zone = new Zone();
Expand Down

0 comments on commit dd8f3e2

Please sign in to comment.