Fixed: Various UI fixes

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick 2018-09-06 20:59:49 -04:00
parent 2667d3ac21
commit 034ef2ad99
3 changed files with 26 additions and 18 deletions

View file

@ -65,7 +65,9 @@ function keyboardShortcuts(WrappedComponent) {
}
stopCallback = (event, element, combo) => {
if (this._mousetrapBindings[combo].isGlobal) {
const binding = this._mousetrapBindings[combo];
if (!binding || binding.isGlobal) {
return false;
}