Skip to content

Commit 2136f3a

Browse files
committed
perform sgroup attr actions
1 parent 300818d commit 2136f3a

File tree

1 file changed

+2
-2
lines changed
  • packages/ketcher-core/src/application/editor/actions

1 file changed

+2
-2
lines changed

packages/ketcher-core/src/application/editor/actions/sgroup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,12 +312,12 @@ export function fromSgroupDeletion(restruct, id, needPerform = true) {
312312

313313
action.addOp(new SGroupDelete(id));
314314

315+
action.mergeWith(sGroupAttributeAction(id, attrs));
316+
315317
if (needPerform) {
316318
action = action.perform(restruct);
317319
}
318320

319-
action.mergeWith(sGroupAttributeAction(id, attrs));
320-
321321
return action;
322322
}
323323

0 commit comments

Comments
 (0)