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" },
|
{ type: "separator" },
|
||||||
{ role: "reload" },
|
{ role: "reload" },
|
||||||
{ role: "forcereload" },
|
{ role: "forcereload" },
|
||||||
{ type: 'separator' },
|
{ type: "separator" },
|
||||||
{ role: 'togglefullscreen' },
|
{ role: "resetzoom" },
|
||||||
|
{ role: "zoomin", accelerator: "CommandOrControl+=" },
|
||||||
|
{ role: "zoomout" },
|
||||||
|
{ type: "separator" },
|
||||||
|
{ role: "togglefullscreen" },
|
||||||
{ type: "separator" },
|
{ type: "separator" },
|
||||||
{ role: "close" },
|
{ role: "close" },
|
||||||
{ role: 'quit' }
|
{ role: "quit" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user