Add the possibility to zoom the application
If the text is too small, it can be handy to be able to zoom in and out.
This commit is contained in:
parent
18f6caf24a
commit
a0b43be0a7
@ -38,11 +38,15 @@ function createWindow() {
|
||||
{ type: "separator" },
|
||||
{ role: "reload" },
|
||||
{ role: "forcereload" },
|
||||
{ type: 'separator' },
|
||||
{ role: 'togglefullscreen' },
|
||||
{ type: "separator" },
|
||||
{ role: "resetzoom" },
|
||||
{ role: "zoomin", accelerator: "CommandOrControl+=" },
|
||||
{ role: "zoomout" },
|
||||
{ type: "separator" },
|
||||
{ role: "togglefullscreen" },
|
||||
{ type: "separator" },
|
||||
{ role: "close" },
|
||||
{ role: 'quit' }
|
||||
{ role: "quit" }
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -191,4 +195,4 @@ app.on("activate", () => {
|
||||
if (win === null) {
|
||||
createWindow();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user