fixes
This commit is contained in:
parent
466a3e2e62
commit
9648350d50
|
@ -1549,7 +1549,7 @@ module.exports = (_ => {
|
||||||
BDFDB.ListenerUtils.removeGlobal(plugin, id);
|
BDFDB.ListenerUtils.removeGlobal(plugin, id);
|
||||||
plugin.globalKeybinds[id] = BDFDB.NumberUtils.generateId(Object.entries(plugin.globalKeybinds).map(n => n[1]));
|
plugin.globalKeybinds[id] = BDFDB.NumberUtils.generateId(Object.entries(plugin.globalKeybinds).map(n => n[1]));
|
||||||
BDFDB.LibraryModules.WindowUtils.inputEventRegister(plugin.globalKeybinds[id], keybind, action, {blurred: true, focused: true, keydown: false, keyup: true});
|
BDFDB.LibraryModules.WindowUtils.inputEventRegister(plugin.globalKeybinds[id], keybind, action, {blurred: true, focused: true, keydown: false, keyup: true});
|
||||||
return (_ => BDFDB.ListenerUtils.removeGlobal(plugin, id););
|
return (_ => BDFDB.ListenerUtils.removeGlobal(plugin, id));
|
||||||
};
|
};
|
||||||
BDFDB.ListenerUtils.removeGlobal = function (plugin, id) {
|
BDFDB.ListenerUtils.removeGlobal = function (plugin, id) {
|
||||||
if (!BDFDB.ObjectUtils.is(plugin) || !plugin.globalKeybinds) return;
|
if (!BDFDB.ObjectUtils.is(plugin) || !plugin.globalKeybinds) return;
|
||||||
|
|
Loading…
Reference in New Issue