mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
This commit is contained in:
parent
899883f21b
commit
875f00398e
2 changed files with 3 additions and 3 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue