mirror of
https://github.com/responsively-org/responsively-app
synced 2024-11-10 06:44:13 +00:00
Merge pull request #84 from manojVivek/bugfix
changed global to local reload
This commit is contained in:
commit
ac822d3412
2 changed files with 7 additions and 3 deletions
|
@ -128,9 +128,6 @@ const createWindow = async () => {
|
|||
|
||||
mainWindow.once('ready-to-show', () => {
|
||||
mainWindow.show();
|
||||
globalShortcut.register('CommandOrControl+R', () => {
|
||||
mainWindow.webContents.send('reload-url');
|
||||
})
|
||||
});
|
||||
|
||||
ipcMain.on('http-auth-promt-response', (event, ...args) => {
|
||||
|
|
|
@ -237,6 +237,13 @@ export default class MenuBuilder {
|
|||
},
|
||||
]
|
||||
: [
|
||||
{
|
||||
label: '&Reload',
|
||||
accelerator: 'CommandOrControl+R',
|
||||
click: () => {
|
||||
this.mainWindow.webContents.send('reload-url');
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Toggle &Full Screen',
|
||||
accelerator: 'F11',
|
||||
|
|
Loading…
Reference in a new issue