This commit is contained in:
Vanessa 2024-07-05 21:00:21 +08:00
parent f25b36ff38
commit cd40ec50bb
21 changed files with 341 additions and 398 deletions

View file

@ -34,7 +34,10 @@ export class Menu {
return this.menu.addItem(option);
}
addSeparator(index?: number) {
addSeparator(index?: number, ignore = false) {
if (ignore) {
return;
}
if (this.isOpen) {
return;
}