mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-19 21:11:32 +01:00
added hide label
This commit is contained in:
parent
3490dcbedb
commit
7ee5cb58ea
@ -4,7 +4,7 @@
|
|||||||
"keys": ["Cmd:Option:i"]
|
"keys": ["Cmd:Option:i"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "system:minimizeWindow",
|
"command": "system:hideWindow",
|
||||||
"keys": ["Cmd:m"]
|
"keys": ["Cmd:m"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -263,6 +263,12 @@ const menuTemplate: Electron.MenuItemConstructorOptions[] = [
|
|||||||
{ type: "separator" },
|
{ type: "separator" },
|
||||||
{ role: "services" },
|
{ role: "services" },
|
||||||
{ type: "separator" },
|
{ type: "separator" },
|
||||||
|
{
|
||||||
|
label: "Hide",
|
||||||
|
click: () => {
|
||||||
|
MainWindow?.hide();
|
||||||
|
},
|
||||||
|
},
|
||||||
{ role: "hideOthers" },
|
{ role: "hideOthers" },
|
||||||
{ type: "separator" },
|
{ type: "separator" },
|
||||||
{ role: "quit" },
|
{ role: "quit" },
|
||||||
|
Loading…
Reference in New Issue
Block a user