Added Shortcut Toggle Console
This commit is contained in:
parent
5a79a84833
commit
d666d17e9c
1 changed files with 7 additions and 0 deletions
|
@ -163,6 +163,13 @@ class IDEView extends React.Component {
|
||||||
} else {
|
} else {
|
||||||
this.props.collapseSidebar();
|
this.props.collapseSidebar();
|
||||||
}
|
}
|
||||||
|
} else if (e.keyCode === 192 && ((e.metaKey && this.isMac) || (e.ctrlKey && !this.isMac))) {
|
||||||
|
e.preventDefault();
|
||||||
|
if (this.props.ide.consoleIsExpanded) {
|
||||||
|
this.props.collapseConsole();
|
||||||
|
} else {
|
||||||
|
this.props.expandConsole();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue