This commit is contained in:
Mirco Wittrien 2020-01-07 10:46:01 +01:00
parent 90b58fc825
commit 9baa879bd8
2 changed files with 2 additions and 1 deletions

View File

@ -9527,6 +9527,7 @@
}
for (let type of LibraryComponents.ContextMenus._NonRenderMenus) BDFDB.InternalData.patchMenuQueries[type] = {query:[], module:null};
BDFDB.ModuleUtils.patch(BDFDB, LibraryModules.ContextMenuUtils, "openContextMenu", {before: e => {
let menu = e.methodArguments[1]();
if (menu.type && menu.props && menu.props.type) {
let type = InternalBDFDB.getContextMenuType(menu.props.type);
if (type && LibraryComponents.ContextMenus._NonRenderMenus.includes(type)) {

File diff suppressed because one or more lines are too long