Vanessa 2023-05-08 15:28:33 +08:00
parent 899883f21b
commit 875f00398e
2 changed files with 3 additions and 3 deletions

View file

@ -53,11 +53,11 @@ export class Menu {
this.menu.popup(options, options.isLeft);
}
fullscreen(position: { x: number; y: number }) {
fullscreen(position: "bottom" | "all" = "all") {
if (this.isOpen) {
return;
}
this.menu.popup({x: position.x, y: position.y});
this.menu.fullscreen(position);
}
close() {