aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/index.js2
-rw-r--r--src/template.html2
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>