diff --git a/ea-scripts/Box Each Selected Groups.md b/ea-scripts/Box Each Selected Groups.md index ca33cec..18fe384 100644 --- a/ea-scripts/Box Each Selected Groups.md +++ b/ea-scripts/Box Each Selected Groups.md @@ -130,10 +130,10 @@ for(const elements of groups) { ea.copyViewElementsToEAforEditing(elements); ea.addToGroup([id].concat(elements.map((el)=>el.id))); - ea.addElementsToView(false); - ea.reset(); } +ea.addElementsToView(false); + function recalculateStartPointOfLine(line, el) { const aX = el.x + el.width/2; const bX = line.x + line.points[1][0];