Skip to content

Commit

Permalink
#503 Display controls action capture bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriána Kohanová committed Jan 22, 2021
1 parent c71a200 commit ffcd372
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default memo(({ open, onClose }) => {
const targetObject = objectsInView[parentKey];
const nglView = getNglView(objectsInView[parentKey].display_div);
const comp = nglView.stage.getComponentsByName(parentKey).first;
comp.eachRepresentation(representation => dispatch(removeComponentRepresentation(parentKey, representation)));
comp.eachRepresentation(representation => dispatch(removeComponentRepresentation(parentKey, representation, true)));

// remove from nglReducer and selectionReducer
dispatch(deleteObject(targetObject, nglView.stage, true));
Expand Down

0 comments on commit ffcd372

Please sign in to comment.