exitFocusedGroup method

void exitFocusedGroup()

Implementation

void exitFocusedGroup() {
  if (groupFocusPath.isEmpty) return;
  final exitedGroupId = groupFocusPath.last;
  setCanvasWorld(
    groupFocusPath.take(groupFocusPath.length - 1).toList(growable: false),
  );
  store.setSelection(ElementSelection({exitedGroupId}));
}