We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 016035a commit 4101c7eCopy full SHA for 4101c7e
src/electron.js
@@ -43,11 +43,14 @@ function createWindow() {
43
win.maximize();
44
45
win.webContents.on('before-input-event', (event, input) => {
46
- if (input.control && input.shift && input.key.toLowerCase() === 'i') {
+ if (input.type === 'keyUp') return;
47
+ if (input.control && input.shift && input.key.toLowerCase() === 'i' || input.key === 'F12') {
48
event.preventDefault();
49
win.webContents.openDevTools();
50
} else if (input.key === 'F5' || input.control && input.key.toLowerCase() === 'r') {
51
win.reload();
52
+ } else if (input.key === 'F11') {
53
+ win.setFullScreen(!win.isFullScreen());
54
}
55
});
56
0 commit comments