Add zoom menu item roles
This commit is contained in:
parent
59ffe35781
commit
bcc372568f
4 changed files with 47 additions and 31 deletions
|
@ -56,6 +56,9 @@ The `role` property can have following values:
|
|||
* `close` - Close current window
|
||||
* `quit`- Quit the application
|
||||
* `togglefullscreen`- Toggle full screen mode on the current window
|
||||
* `resetzoom` - Reset the focused page's zoom level to the original size
|
||||
* `zoomin` - Zoom in the focused page by 10%
|
||||
* `zoomout` - Zoom out the focused page by 10%
|
||||
|
||||
On macOS `role` can also have following additional values:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue