修复疏密校正键盘操作点不移动
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++:""
|
now_v_h.value == 'vertical'?value_v.value[options_model_v.value].y++:""
|
||||||
break;
|
break;
|
||||||
case "KeyA":
|
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;
|
break;
|
||||||
case "KeyS":
|
case "KeyS":
|
||||||
now_v_h.value == 'vertical'?value_v.value[options_model_v.value].y--:""
|
now_v_h.value == 'vertical'?value_v.value[options_model_v.value].y--:""
|
||||||
break;
|
break;
|
||||||
case "KeyD":
|
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;
|
break;
|
||||||
default:
|
default:
|
||||||
lock=1
|
lock=1
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(lock==0){
|
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