Update MessageUtilities.plugin.js

This commit is contained in:
Mirco Wittrien 2022-04-21 02:26:25 +02:00 committed by GitHub
parent 7927c08440
commit 3f44928ecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ module.exports = (_ => {
getActiveShortcutString (action) {
if (!action) return null;
let str = [];
if (this.settings.general.addHints && this.settings.bindingsState[action] && enabledBindings[action]) {
if (this.settings.general.addHints && enabledBindings[action]) {
if (enabledBindings[action].keycombo.length) str.push(BDFDB.LibraryModules.KeyCodeUtils.getString(enabledBindings[action].keycombo));
str.push(Object.keys(clickMap).find(type => clickMap[type] == enabledBindings[action].click));
}