diff --git a/src/components/FusionSettings/DensityCorrection.vue b/src/components/FusionSettings/DensityCorrection.vue index d447fc6..581746f 100644 --- a/src/components/FusionSettings/DensityCorrection.vue +++ b/src/components/FusionSettings/DensityCorrection.vue @@ -894,13 +894,13 @@ export default defineComponent({ add_control_points(Number(now_amount.value), tmp); } - /** + /** * 滚轮切换 * @param details */ const details_selsect_v=(details:any) => { let spt=details.deltaY/100 - if(spt>0){ + if(spt<0){ if(options_model_v.value>=value_v_point.value.length-1){ options_model_v.value=0 }else{ @@ -916,7 +916,7 @@ export default defineComponent({ } const details_selsect_h=(details:any) => { let spt=details.deltaY/100 - if(spt>0){ + if(spt<0){ if(options_model_h.value>=value_h_point.value.length-1){ options_model_h.value=0 }else{ @@ -939,7 +939,7 @@ export default defineComponent({ let spt = details.deltaY / 100 switch (type) { case 'v': - if (spt > 0) { + if (spt < 0) { value_v.value[options_model_v.value].y++ } else { value_v.value[options_model_v.value].y-- @@ -947,7 +947,7 @@ export default defineComponent({ chang(options_model_v.value,value_v.value[options_model_v.value].y,"v") break; default: - if (spt > 0) { + if (spt < 0) { value_h.value[options_model_h.value].x++ } else { value_h.value[options_model_h.value].x-- diff --git a/src/components/FusionSettings/FourPointCalibration.vue b/src/components/FusionSettings/FourPointCalibration.vue index a8630de..ff94ea7 100644 --- a/src/components/FusionSettings/FourPointCalibration.vue +++ b/src/components/FusionSettings/FourPointCalibration.vue @@ -364,7 +364,7 @@ export default defineComponent({ */ const details_selsect=(details:any) => { let spt=details.deltaY/100 - if(spt>0){ + if(spt<0){ if(options_model.value>=value_point.value.length-1){ options_model.value=0 }else{ @@ -387,14 +387,14 @@ export default defineComponent({ let spt = details.deltaY / 100 switch (type) { case 'x': - if (spt > 0) { + if (spt < 0) { value.value[options_model.value].x++ } else { value.value[options_model.value].x-- } break; default: - if (spt > 0) { + if (spt < 0) { value.value[options_model.value].y++ } else { value.value[options_model.value].y-- diff --git a/src/components/FusionSettings/SurfaceCorrection.vue b/src/components/FusionSettings/SurfaceCorrection.vue index e7706ad..e953083 100644 --- a/src/components/FusionSettings/SurfaceCorrection.vue +++ b/src/components/FusionSettings/SurfaceCorrection.vue @@ -637,13 +637,13 @@ export default defineComponent({ options_model.value = 1 } - /** + /** * 滚轮切换 - * @param details + * @param details 鼠标返回对象 */ const details_selsect=(details:any) => { let spt=details.deltaY/100 - if(spt>0){ + if(spt<0){ if(options_model.value>=value_point.value.length-1){ options_model.value=0 }else{ @@ -666,14 +666,14 @@ export default defineComponent({ let spt = details.deltaY / 100 switch (type) { case 'x': - if (spt > 0) { + if (spt < 0) { value.value[options_model.value].x++ } else { value.value[options_model.value].x-- } break; default: - if (spt > 0) { + if (spt < 0) { value.value[options_model.value].y++ } else { value.value[options_model.value].y-- diff --git a/src/components/FusionSettingsDialog.vue b/src/components/FusionSettingsDialog.vue index 3db669a..8d7242b 100644 --- a/src/components/FusionSettingsDialog.vue +++ b/src/components/FusionSettingsDialog.vue @@ -33,15 +33,25 @@
{{ $t("Projector") }}
-