diff --git a/src/editor/components/scenegraph/SceneGraph.js b/src/editor/components/scenegraph/SceneGraph.js index e6ae45f4..fe8f1c5e 100644 --- a/src/editor/components/scenegraph/SceneGraph.js +++ b/src/editor/components/scenegraph/SceneGraph.js @@ -91,6 +91,7 @@ export default class SceneGraph extends React.Component { if (entityOption.entity === entity) { this.setState({ selectedIndex: i }); setTimeout(() => { + // wait 500ms to allow user to double click on entity document .getElementById('sgnode' + i) ?.scrollIntoView({ behavior: 'smooth' });