WebContextMenus: Fix slate menu
This commit is contained in:
parent
d1ad6c47a7
commit
4d0a064425
1 changed files with 3 additions and 3 deletions
|
@ -157,9 +157,9 @@ export default definePlugin({
|
||||||
replace: "$1=[],$2=[]",
|
replace: "$1=[],$2=[]",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// if (!IS_DESKTOP) return
|
// if (!IS_DESKTOP) return null;
|
||||||
match: /(?<=showApplicationCommandSuggestions;)if\(!\i\.\i\)/,
|
match: /if\(!\i\.\i\)return null;/,
|
||||||
replace: "if(false)"
|
replace: ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// do not add menu items for entries removed in patch 1. Using a lookbehind for group 1 is slow,
|
// do not add menu items for entries removed in patch 1. Using a lookbehind for group 1 is slow,
|
||||||
|
|
Loading…
Reference in a new issue