fix input hot key conflict
This commit is contained in:
parent
1b4d1384f9
commit
e7981e2818
2 changed files with 3 additions and 2 deletions
|
|
@ -1944,7 +1944,8 @@ self.kiri.license = exports.LICENSE;
|
|||
function modalShowing() {
|
||||
var showing = false;
|
||||
["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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue