0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 04:42:41 +00:00

Merge pull request #3678 from dbolack-ab/accursedKeys

This commit is contained in:
Trevor Buckner
2024-08-28 22:24:50 -04:00
committed by GitHub

View File

@@ -85,7 +85,7 @@ const Editor = createClass({
},
handleControlKeys : function(e){
if(!(e.ctrlKey || e.metaKey)) return;
if(!(e.ctrlKey && e.metaKey)) return;
const LEFTARROW_KEY = 37;
const RIGHTARROW_KEY = 39;
if (e.shiftKey && (e.keyCode == RIGHTARROW_KEY)) this.brewJump();