diff options
| author | Alon Levy <alon@pobox.com> | 2015-03-10 13:02:07 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-03-10 13:02:31 +0200 |
| commit | 353c6b50db1a80b67c4b0511bc4171944a56b226 (patch) | |
| tree | c4d194f606df3719f187c04c462eee0499ecf5ca /src/client/consts.js | |
| parent | 3ebb8554564760482eeabb079813db589e734a51 (diff) | |
client: graph_view: handle keyboard events when svg nodes are focused
enter to open edit, space and shift-space to select/append.
Diffstat (limited to 'src/client/consts.js')
| -rw-r--r-- | src/client/consts.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/consts.js b/src/client/consts.js index 1c426695..b20ce9ce 100644 --- a/src/client/consts.js +++ b/src/client/consts.js @@ -25,5 +25,7 @@ define(function() { VK_DOWN: 40, VK_ESCAPE: 27, VK_TAB: 9, + VK_SPACE: 32, + VK_ENTER: 13, }; }); |
