Fix drop arrow keys from console

jh-changes
Shinya Ohyanagi 7 years ago
parent b70a671d7e
commit 5d0554c7e8
  1. 6
      src/console/components/console.js

@ -74,17 +74,11 @@ export default class ConsoleComponent {
return this.doEnter(e); return this.doEnter(e);
} }
break; break;
case KeyboardEvent.DOM_VK_DOWN:
this.selectNext(e);
break;
case KeyboardEvent.DOM_VK_N: case KeyboardEvent.DOM_VK_N:
if (e.ctrlKey) { if (e.ctrlKey) {
this.selectNext(e); this.selectNext(e);
} }
break; break;
case KeyboardEvent.DOM_VK_UP:
this.selectPrev(e);
break;
case KeyboardEvent.DOM_VK_P: case KeyboardEvent.DOM_VK_P:
if (e.ctrlKey) { if (e.ctrlKey) {
this.selectPrev(e); this.selectPrev(e);