Skip to content

Commit 184d40c

Browse files
authored
Merge branch 'develop' into refactor/file-selectors
2 parents e76ba86 + 7b71ad7 commit 184d40c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/modules/IDE/components/Editor.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,10 @@ class Editor extends React.Component {
501501
<button
502502
aria-label={this.props.t('Editor.OpenSketchARIA')}
503503
className="sidebar__contract"
504-
onClick={this.props.collapseSidebar}
504+
onClick={() => {
505+
this.props.collapseSidebar();
506+
this.props.closeProjectOptions();
507+
}}
505508
>
506509
<LeftArrowIcon focusable="false" aria-hidden="true" />
507510
</button>
@@ -589,6 +592,7 @@ Editor.propTypes = {
589592
).isRequired,
590593
isExpanded: PropTypes.bool.isRequired,
591594
collapseSidebar: PropTypes.func.isRequired,
595+
closeProjectOptions: PropTypes.func.isRequired,
592596
expandSidebar: PropTypes.func.isRequired,
593597
clearConsole: PropTypes.func.isRequired,
594598
hideRuntimeErrorWarning: PropTypes.func.isRequired,

0 commit comments

Comments
 (0)