mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-21 21:06:58 +00:00
Flip which arror is which.
This commit is contained in:
1 parent
81a098b6cf
commit
4957a0d2ef
1 file changed
+2
-2
@@ -93,8 +93,8 @@ const Editor = createClass({
|
|||||||
console.log(e);
|
console.log(e);
|
||||||
const LEFTARROW_KEY = 37;
|
const LEFTARROW_KEY = 37;
|
||||||
const RIGHTARROW_KEY = 39;
|
const RIGHTARROW_KEY = 39;
|
||||||
if (e.shiftKey && (e.keyCode == LEFTARROW_KEY)) this.brewJump();
|
if (e.shiftKey && (e.keyCode == RIGHTARROW_KEY)) this.brewJump();
|
||||||
if (e.shiftKey && (e.keyCode == RIGHTARROW_KEY)) this.sourceJump();
|
if (e.shiftKey && (e.keyCode == LEFTARROW_KEY)) this.sourceJump();
|
||||||
if ((e.keyCode == LEFTARROW_KEY) || (e.keyCode == RIGHTARROW_KEY)) {
|
if ((e.keyCode == LEFTARROW_KEY) || (e.keyCode == RIGHTARROW_KEY)) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|||||||
Reference in new issue
Block a user