mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-29 02:12:58 +08:00
fix: 存档的方向键问题
This commit is contained in:
parent
a858069e6d
commit
10620bd2f8
@ -380,7 +380,7 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>(
|
||||
'@save_right',
|
||||
() => {
|
||||
const count = grid.value.count;
|
||||
if (selected.value < count) {
|
||||
if (selected.value < count - 1) {
|
||||
selected.value++;
|
||||
} else {
|
||||
selected.value = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user