-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[MusicXML] Unify color import #29343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/importexport/musicxml/internal/musicxml/import/importmusicxmlpass2.cpp
Show resolved
Hide resolved
if (color.isValid()) { | ||
p->setLineColor(color); | ||
} | ||
colorItem(p, Color::fromString(m_e.asciiAttribute("color").ascii())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not
colorItem(p, color);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. Seems I overlooked it. Maybe you could clean it up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #29386
Backport of musescore#29343
Backport of musescore#29343
Backport of musescore#29343
Backport of musescore#29343
Backport of musescore#29343
Backport of musescore#29343
Backport of musescore#29343
Generalize color import based on the fix in #29300.