Skip to content

Commit

Permalink
Changed open shortcut again
Browse files Browse the repository at this point in the history
  • Loading branch information
DisableGraphics committed Apr 26, 2022
1 parent 459ddbd commit 5d49d5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,10 @@ bool on_key_pressed(GdkEventKey* event, WebKitWebView * webView, Gtk::HeaderBar
case 113: //Left arrow
previous_chapter(webView, titleBar);
break;
case 32 & 37: //'Ctrl + o' key
open(webView, titleBar);
case 32: //'o' key
if(position > -2){
open(webView, titleBar);
}
break;
}
return false;
Expand Down

0 comments on commit 5d49d5a

Please sign in to comment.