[PLT-7051] Fix hide/show for CMD/CTRL + Shift + A keyboard shortcut (#6979)

* fix hide/show for CMD/CTRL + Shift + A keyboard shortcut

* simplify setting value of show
This commit is contained in:
Saturnino Abril
2017-07-23 14:42:04 +08:00
committed by GitHub
parent 58c6a70d3e
commit b27d51d512
@@ -114,7 +114,7 @@ class UserSettingsModal extends React.Component {
handleKeyDown(e) {
if (Utils.cmdOrCtrlPressed(e) && e.shiftKey && e.keyCode === Constants.KeyCodes.A) {
this.setState({
show: true
show: !this.state.show
});
}
}