feat(nds): improve key input system
This commit is contained in:
@@ -78,7 +78,7 @@ onClick(() => {
|
||||
store.animateOutro();
|
||||
});
|
||||
|
||||
useKeyDown((key) => {
|
||||
useKeyDown(({ key }) => {
|
||||
if (store.isIntro || store.isOutro) return;
|
||||
|
||||
switch (key) {
|
||||
|
||||
Reference in New Issue
Block a user