Skip to content

Commit 157ef83

Browse files
committed
change ESC to ENTER
Signed-off-by: M-DEV-1 <[email protected]>
1 parent 86c5008 commit 157ef83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

site/src/components/ShapeBuilder/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const ShapeBuilder = () => {
5050
poly.draw("param", "snapToGrid", 0.001);
5151
}
5252

53-
if (e.key === "Escape") {
53+
if (e.key === "Enter") {
5454
poly.draw("done");
5555
poly.fill("#00B39F");
5656
showCytoArray();

site/src/components/utils/instructionsModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Modal, ModalBody, Typography, List, ListItem, ListItemText, ModalFooter
33

44
const instructionPoints = [
55
{
6-
primary: "Press ESC to close the shape",
6+
primary: "Press ENTER to close the shape",
77
secondary: "It won’t draw the last position of your cursor, don’t stress!"
88
},
99
{

0 commit comments

Comments
 (0)