Skip to content

Commit

Permalink
Correction (fix unit tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-spa committed Oct 23, 2023
1 parent 63bc01e commit b2953be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/engraving/dom/spanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,12 +404,12 @@ bool SpannerSegment::isPropertyLinkedToMaster(Pid id) const

bool SpannerSegment::isUserModified() const
{
bool modified = !autoplace() || visible()
bool modified = !autoplace() || !visible()
|| (propertyFlags(Pid::MIN_DISTANCE) == PropertyFlags::UNSTYLED
|| getProperty(Pid::MIN_DISTANCE) != propertyDefault(Pid::MIN_DISTANCE))
|| (!isStyled(Pid::OFFSET) && (!offset().isNull() || !userOff2().isNull()));

return modified || EngravingItem::isUserModified();
return modified;
}

//---------------------------------------------------------
Expand Down Expand Up @@ -1453,7 +1453,7 @@ bool Spanner::isUserModified() const
}
}

return EngravingItem::isUserModified();
return false;
}

//---------------------------------------------------------
Expand Down

0 comments on commit b2953be

Please sign in to comment.