mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
fullscreen for steam
This commit is contained in:
parent
c845fb4203
commit
eb77bf352c
@ -68,6 +68,22 @@ function createWindow() {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "fullscreen",
|
||||
submenu: [
|
||||
{
|
||||
label: "toggle",
|
||||
accelerator: "f9",
|
||||
click: (() => {
|
||||
let full = false;
|
||||
return () => {
|
||||
full = !full;
|
||||
win.setFullScreen(full);
|
||||
};
|
||||
})(),
|
||||
},
|
||||
],
|
||||
},
|
||||
]),
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user