Skip to content

Commit 2c8e01f

Browse files
committed
feat: refresh hotkeys
1 parent 02e8351 commit 2c8e01f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/electron.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ function createWindow(dir = '') {
3535
win.webContents.openDevTools();
3636
} else if (input.key === 'F11') {
3737
win.setFullScreen(!win.isFullScreen());
38+
} else if (input.key === 'F5' || input.control && input.key.toLowerCase() === 'r') {
39+
win.reload();
3840
}
3941
});
4042

0 commit comments

Comments
 (0)