fix typos and whitespace

This commit is contained in:
plc-user
2025-02-09 12:25:09 +01:00
parent f675ce3452
commit 706eba6612

View File

@@ -414,8 +414,8 @@ const QDomDocument ElementScene::toXml(bool all_parts)
{ {
QRectF size= elementSceneGeometricRect(); QRectF size= elementSceneGeometricRect();
// if the element doesn't contains the origin point of the scene // if the element doesn't contain the origin point of the scene
// we move the element to the origin for solve this default before saving // we move the element to the origin to solve this default before saving
if (!size.contains(0,0) && all_parts) if (!size.contains(0,0) && all_parts)
{ {
centerElementToOrigine(); centerElementToOrigine();