Merge pull request #207 from pybricks/dlech

fix terminal losing focus after opening context menu
This commit is contained in:
David Lechner
2020-12-10 15:23:18 -06:00
committed by GitHub
2 changed files with 256 additions and 326 deletions
+5
View File
@@ -136,6 +136,11 @@ class Terminal extends React.Component<TerminalProps> {
</Menu>
);
}
onContextMenuClose = () => {
// without this, the terminal looses focus
this.xterm.focus();
};
}
const mapStateToProps = (state: RootState): StateProps => ({
+251 -326
View File
File diff suppressed because it is too large Load Diff