Skip to content

Commit

Permalink
Prevent previous element props to be selected
Browse files Browse the repository at this point in the history
  • Loading branch information
sebavan committed Apr 12, 2023
1 parent 068f038 commit a9825cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export class SceneExplorerComponent extends React.Component<ISceneExplorerCompon
} else if (keyEvent.keyCode === 46) {
// delete
this.state.selectedEntity.dispose();
this.setState({ selectedEntity: null });
this.props.globalState.onSelectionChangedObservable.notifyObservers(scene);
}

if (!search) {
Expand Down

0 comments on commit a9825cc

Please sign in to comment.