Fixed call of popup menu commands with parameters.s
This commit is contained in:
Vendored
+5
-3
@@ -6671,9 +6671,11 @@
|
||||
if (this.autoClose) {
|
||||
this.close();
|
||||
}
|
||||
setTimeout(() => {
|
||||
func.call(event, key);
|
||||
}, 20);
|
||||
console.log("perform", event, key);
|
||||
setTimeout((event, key) => {
|
||||
console.log("perform within arrow", event, key);
|
||||
func(event, key);
|
||||
}, 20, event, key);
|
||||
}
|
||||
|
||||
/** Update the menu item denoted by key.
|
||||
|
||||
Reference in New Issue
Block a user