From 799afbc63d285cbafd67197e56c5222cd4684c52 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 20 Jul 2020 13:15:41 +0200 Subject: [PATCH] stuff --- Plugins/BDFDB.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js index 9e76ce6af5..e4cf334bcf 100644 --- a/Plugins/BDFDB.js +++ b/Plugins/BDFDB.js @@ -10076,6 +10076,8 @@ for (let plugin of BDFDB.InternalData.componentPatchQueries[type].query) if(typeof plugin[`on${type}`] === "function") plugin[`on${type}`](e); } }; + + InternalBDFDB.patchPlugin(BDFDB); for (let type of QueuedComponents) if (!BDFDB.InternalData.componentPatchQueries[type]) BDFDB.InternalData.componentPatchQueries[type] = {query:[], modules:[]}; BDFDB.ModuleUtils.patch(BDFDB, LibraryModules.ContextMenuUtils, "openContextMenu", {before: e => { @@ -10126,8 +10128,7 @@ BDFDB.MessageUtils.rerenderAll(); BDFDB.ModuleUtils.forceAllUpdates(BDFDB); }; - - InternalBDFDB.patchPlugin(BDFDB); + InternalBDFDB.addSpecialListeners(BDFDB); let BasePopout = BDFDB.ModuleUtils.findByName("BasePopout"), ReferencePositionLayer = BDFDB.ModuleUtils.findByName("ReferencePositionLayer");