Skip to content

Commit

Permalink
fix #290040: line min distance not saved, so won't stay within skyline
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed May 31, 2019
1 parent 5c882aa commit 168d240
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libmscore/line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ void SLine::writeProperties(XmlWriter& xml) const
return;

//
// write user modified layout
// write user modified layout and other segment properties
//
qreal _spatium = score()->spatium();
for (const SpannerSegment* seg : spannerSegments()) {
Expand All @@ -1010,6 +1010,7 @@ void SLine::writeProperties(XmlWriter& xml) const
//if (seg->propertyFlags(Pid::OFFSET) & PropertyFlags::UNSTYLED)
xml.tag("offset", seg->offset() / _spatium);
xml.tag("off2", seg->userOff2() / _spatium);
seg->writeProperty(xml, Pid::MIN_DISTANCE);
seg->Element::writeProperties(xml);
xml.etag();
}
Expand Down

0 comments on commit 168d240

Please sign in to comment.