exit group view with Escape in addition to ArrowLeft

This commit is contained in:
mbecker20
2023-04-03 16:35:44 +00:00
parent 6239da45f4
commit 7a50885847

View File

@@ -200,7 +200,7 @@ const Group: Component<{
}
});
useWindowKeyDown((e) => {
if (e.key === "ArrowLeft") {
if (e.key === "ArrowLeft" || e.key === "Escape") {
p.exit();
}
});