This commit is contained in:
Vanessa 2023-10-01 10:26:31 +08:00
parent 05cfcf7c2b
commit 64900706b2
13 changed files with 119 additions and 58 deletions

View file

@ -41,7 +41,7 @@ export class Menu {
this.menu.addSeparator(index);
}
open(options: { x: number, y: number, h?: number, w?: number, isLeft?: boolean }) {
open(options:IPosition) {
if (this.isOpen) {
return;
}