feat(nds): improve key input system
This commit is contained in:
@@ -212,7 +212,7 @@ onRender((ctx) => {
|
||||
);
|
||||
}, 10);
|
||||
|
||||
useKeyDown((key) => {
|
||||
useKeyDown(({ key }) => {
|
||||
if (isAnimating.value || !props.selected || props.disabled) return;
|
||||
switch (key) {
|
||||
case "NDS_UP":
|
||||
|
||||
Reference in New Issue
Block a user