diff --git a/src/components/FusionSettings/DensityCorrection.vue b/src/components/FusionSettings/DensityCorrection.vue index 90d89f8..295648c 100644 --- a/src/components/FusionSettings/DensityCorrection.vue +++ b/src/components/FusionSettings/DensityCorrection.vue @@ -5,43 +5,43 @@

V1

V2

V3

V4

V5

←H1→ ←H2→ ←H3→ ←H4→ ←H5→
@@ -693,8 +693,17 @@ export default defineComponent({ } save_set_cache(); }; + const activeMouseDown = (index: number) => { + isactivearray.value[index] = true; + if(index>=5){ + set?.SetBlendingOption("blending_grids_select_point",`density_h:${index-4}`) + }else{ + set?.SetBlendingOption("blending_grids_select_point",`density_v:${index+1}`) + } + }; initialization(); return { + activeMouseDown, model, options, value, diff --git a/src/components/FusionSettings/FourPointCalibration.vue b/src/components/FusionSettings/FourPointCalibration.vue index 8e79fb7..660a574 100644 --- a/src/components/FusionSettings/FourPointCalibration.vue +++ b/src/components/FusionSettings/FourPointCalibration.vue @@ -307,6 +307,7 @@ export default defineComponent({ }); const activeMouseDown = (index: number) => { isactivearray.value[index] = true; + set?.SetBlendingOption("blending_grids_select_point",`4:${index+1}`) }; const mouseUpHandler = (index: number) => { isactivearray.value[index] = false; diff --git a/src/components/FusionSettings/FusionLocale.vue b/src/components/FusionSettings/FusionLocale.vue index b310983..4f8d7ce 100644 --- a/src/components/FusionSettings/FusionLocale.vue +++ b/src/components/FusionSettings/FusionLocale.vue @@ -18,7 +18,7 @@ (val !== null && val !== '') || $t('Please enter a number'), (val) => - (val > -1 && val < config.height) || $t('Please enter 0-100'), + (val >= 0 && val < config.height) || $t('Please enter 0-100'), ]" />
@@ -40,7 +40,7 @@ (val !== null && val !== '') || $t('Please enter a number'), (val) => - (val > -1 && val < config.width) || $t('Please enter 0-100'), + (val >= 0 && val < config.width) || $t('Please enter 0-100'), ]" /> @@ -58,7 +58,7 @@ (val !== null && val !== '') || $t('Please enter a number'), (val) => - (val > -1 && val < config.width) || $t('Please enter 0-100'), + (val >= 0 && val < config.width) || $t('Please enter 0-100'), ]" />
{{ $t('Whether to operate synchronously') }} - (val > -1 && val < config.height) || $t('Please enter 0-100'), + (val >= 0 && val < config.height) || $t('Please enter 0-100'), ]" />
@@ -95,26 +95,26 @@

{{ $t("Set Fusion Band Parameters") }}

-
-
+ -
+

alpha

-
-
+ -
+

p

-
-
+ -
+

gamma

@@ -129,6 +129,13 @@ .boder { border: 2px solid #0000; } +.btn_bottom{ + margin-bottom: 0.5rem; +} +.btn_top{ + margin-top: 0.3rem; +} +