Skip to content

Commit

Permalink
Fix GH#25783: Write color only once for line spanners
Browse files Browse the repository at this point in the history
Backport of musescore#25789
  • Loading branch information
rettinghaus authored and Jojo-Schmitz committed Dec 11, 2024
1 parent de7bb02 commit 6a50940
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion libmscore/line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,6 @@ void SLine::writeProperties(XmlWriter& xml) const
xml.tag("diagonal", _diagonal);
writeProperty(xml, Pid::LINE_WIDTH);
writeProperty(xml, Pid::LINE_STYLE);
writeProperty(xml, Pid::COLOR);
writeProperty(xml, Pid::ANCHOR);
writeProperty(xml, Pid::DASH_LINE_LEN);
writeProperty(xml, Pid::DASH_GAP_LEN);
Expand Down
1 change: 0 additions & 1 deletion mtest/libmscore/spanners/linecolor01-ref.mscx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
<endHookType>1</endHookType>
<beginHookType>1</beginHookType>
<color r="255" g="0" b="0" a="255"/>
<color r="255" g="0" b="0" a="255"/>
<Segment>
<subtype>0</subtype>
<offset x="0" y="2.5"/>
Expand Down

0 comments on commit 6a50940

Please sign in to comment.