diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-11-10 11:43:19 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-11-10 11:43:19 +0000 |
| commit | 4d519b3f27a7e0f66a6650e996d903f9bca3b0f3 (patch) | |
| tree | 42cb1b88ab9dc130f28da6aec5c322f37f56e31b | |
| parent | load example on start (diff) | |
| download | leap-finger-scan-main.tar.gz leap-finger-scan-main.zip | |
| -rw-r--r-- | src/index.js | 2 | ||||
| -rw-r--r-- | src/template.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index e5e0435..668583c 100644 --- a/src/index.js +++ b/src/index.js @@ -254,6 +254,8 @@ window.onkeydown = (e) => { reader.onload = e => restore(JSON.parse(e.target.result)); reader.readAsText(e.target.files[0]); } + } else if (e.key === 'Escape') { + transform.detach(); } else if (e.key === 'Shift') { transform.setMode('rotate'); } else if (e.key === 'Alt') { diff --git a/src/template.html b/src/template.html index 1868873..ef16fb8 100644 --- a/src/template.html +++ b/src/template.html @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title><%= htmlWebpackPlugin.options.title %></title> + <title>Leap Finger Scan</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> |
