You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've improved Copy & Paste of diagram objects but there's still a problem to be fixed.
If child objects (nested) are selected and copied they are pasted at co-ordinates relative to the diagram, not the parent object.
See com.archimatetool.editor.diagram.actions.CopySnapshot class:
private void calculateXYOffset(Point mousePosition) {
// No mouse click, so increment position by 10,10
// FIXME: If selected objects are child objects then the offset is relative to the diagram, not the parent objects
if(mousePosition == null) {
fXOffSet += 10;
fYOffSet += 10;
return;
}
Anyone like to take a look at this. I'm stumped.
The text was updated successfully, but these errors were encountered:
Don't know if I will find time (my repository plugin makes me very busy) but I should have a look this week.
This makes me think about another issue (don't know if it's still there with the changes you've done): when copy/past nested elements, the relation that exists between parent and child is not kept. I guess this is because there's no relation object shown on the diagram.
"when copy/paste nested elements, the relation that exists between parent and child is not kept. I guess this is because there's no relation object shown on the diagram."
I've improved Copy & Paste of diagram objects but there's still a problem to be fixed.
If child objects (nested) are selected and copied they are pasted at co-ordinates relative to the diagram, not the parent object.
See com.archimatetool.editor.diagram.actions.CopySnapshot class:
Anyone like to take a look at this. I'm stumped.
The text was updated successfully, but these errors were encountered: