修复疏密校正键盘操作点不移动
This commit is contained in:
parent
c62a34e34b
commit
44ae08f0c1
|
@ -1106,20 +1106,20 @@ export default defineComponent({
|
|||
now_v_h.value == 'vertical'?value_v.value[options_model_v.value].y++:""
|
||||
break;
|
||||
case "KeyA":
|
||||
now_v_h.value != 'vertical'?value_h.value[options_model_h.value].x--:""
|
||||
now_v_h.value == 'level'?value_h.value[options_model_h.value].x--:""
|
||||
break;
|
||||
case "KeyS":
|
||||
now_v_h.value == 'vertical'?value_v.value[options_model_v.value].y--:""
|
||||
break;
|
||||
case "KeyD":
|
||||
now_v_h.value != 'vertical'?value_h.value[options_model_h.value].x++:""
|
||||
now_v_h.value == 'level'?value_h.value[options_model_h.value].x++:""
|
||||
break;
|
||||
default:
|
||||
lock=1
|
||||
break;
|
||||
}
|
||||
if(lock==0){
|
||||
now_v_h.value != 'vertical'?chang(options_model_h.value, value_h.value[options_model_h.value].x, 'h'):chang(options_model_v.value, value_v.value[options_model_v.value].y, 'h')
|
||||
now_v_h.value == 'level'?chang(options_model_h.value, value_h.value[options_model_h.value].x, 'h'):chang(options_model_v.value, value_v.value[options_model_v.value].y, 'v')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue