[turbolizer] Allow selecting inputs also with numeric keyboard.
R=danno BUG= Review-Url: https://codereview.chromium.org/2227643002 Cr-Commit-Position: refs/heads/master@{#38442}
This commit is contained in:
parent
003b6948b0
commit
0d9ce3acff
@ -583,6 +583,20 @@ class GraphView extends View {
|
||||
(edge, index) => { return index == (d3.event.keyCode - 49); },
|
||||
false);
|
||||
break;
|
||||
case 97:
|
||||
case 98:
|
||||
case 99:
|
||||
case 100:
|
||||
case 101:
|
||||
case 102:
|
||||
case 103:
|
||||
case 104:
|
||||
case 105:
|
||||
// 'numpad 1'-'numpad 9'
|
||||
showSelectionFrontierNodes(true,
|
||||
(edge, index) => { return index == (d3.event.keyCode - 97); },
|
||||
false);
|
||||
break;
|
||||
case 67:
|
||||
// 'c'
|
||||
showSelectionFrontierNodes(true,
|
||||
|
Loading…
Reference in New Issue
Block a user