fix input hot key conflict

This commit is contained in:
Stewart Allen 2018-06-21 16:26:50 -04:00
commit e7981e2818
2 changed files with 3 additions and 2 deletions

View file

@ -1944,7 +1944,8 @@ self.kiri.license = exports.LICENSE;
function modalShowing() { function modalShowing() {
var showing = false; var showing = false;
["modal","catalog","devices","tools"].forEach(function(dialog) { ["modal","catalog","devices","tools"].forEach(function(dialog) {
showing = showing || UI[dialog].style.display === 'block'; var state = UI[dialog].style.display
showing = showing || state !== 'none';
}); });
return showing || UC.isPopped(); return showing || UC.isPopped();
} }

View file

@ -1,7 +1,7 @@
var exports = { var exports = {
COPYRIGHT:"Copyright (C) 2014-2018 Stewart Allen <sa@grid.space> - All Rights Reserved", COPYRIGHT:"Copyright (C) 2014-2018 Stewart Allen <sa@grid.space> - All Rights Reserved",
LICENSE:"See the license.md file included with the source distribution", LICENSE:"See the license.md file included with the source distribution",
VERSION:"1.2.2" VERSION:"1.2.3"
}; };
if (!module) var module = {}; if (!module) var module = {};
module.exports = exports; module.exports = exports;