mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
@@ -310,11 +310,25 @@ const view = {
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
role: 'zoomin',
|
||||
accelerator: macOS ? 'CommandOrControl+Plus' : 'Control+='
|
||||
label: 'Actual Size',
|
||||
accelerator: macOS ? 'CommandOrControl+0' : 'Control+0',
|
||||
click () {
|
||||
mainWindow.webContents.send('status:zoomreset')
|
||||
}
|
||||
},
|
||||
{
|
||||
role: 'zoomout'
|
||||
label: 'Zoom In',
|
||||
accelerator: macOS ? 'CommandOrControl+=' : 'Control+=',
|
||||
click () {
|
||||
mainWindow.webContents.send('status:zoomin')
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Zoom Out',
|
||||
accelerator: macOS ? 'CommandOrControl+-' : 'Control+-',
|
||||
click () {
|
||||
mainWindow.webContents.send('status:zoomout')
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user