Skip to content

Commit

Permalink
fix: reload
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrikeasia committed Dec 3, 2024
1 parent 6622dae commit 768279f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/js/pip/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ document.onkeydown = (e) => {
if (e.ctrlKey) {
switch (e.code) {
case 'KeyR':
return ipcRenderer.send('reload');
return ipcRenderer.send('all-reload');

default:
return;
Expand Down
2 changes: 1 addition & 1 deletion src/js/plugin_edit/key.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ document.onkeydown = (e) => {
if (e.ctrlKey) {
switch (e.code) {
case 'KeyR':
return ipcRenderer.send('reload');
return ipcRenderer.send('all-reload');

default:
return;
Expand Down
2 changes: 1 addition & 1 deletion src/js/setting/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ document.onkeydown = (e) => {
if (e.ctrlKey) {
switch (e.code) {
case 'KeyR':
return ipcRenderer.send('reload');
return ipcRenderer.send('all-reload');

default:
return;
Expand Down

0 comments on commit 768279f

Please sign in to comment.