Skip to content

Commit b2953be

Browse files
committed
Correction (fix unit tests)
1 parent 63bc01e commit b2953be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/engraving/dom/spanner.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,12 +404,12 @@ bool SpannerSegment::isPropertyLinkedToMaster(Pid id) const
404404

405405
bool SpannerSegment::isUserModified() const
406406
{
407-
bool modified = !autoplace() || visible()
407+
bool modified = !autoplace() || !visible()
408408
|| (propertyFlags(Pid::MIN_DISTANCE) == PropertyFlags::UNSTYLED
409409
|| getProperty(Pid::MIN_DISTANCE) != propertyDefault(Pid::MIN_DISTANCE))
410410
|| (!isStyled(Pid::OFFSET) && (!offset().isNull() || !userOff2().isNull()));
411411

412-
return modified || EngravingItem::isUserModified();
412+
return modified;
413413
}
414414

415415
//---------------------------------------------------------
@@ -1453,7 +1453,7 @@ bool Spanner::isUserModified() const
14531453
}
14541454
}
14551455

1456-
return EngravingItem::isUserModified();
1456+
return false;
14571457
}
14581458

14591459
//---------------------------------------------------------

0 commit comments

Comments
 (0)