diff --git a/src/components/FusionSettings/DensityCorrection.vue b/src/components/FusionSettings/DensityCorrection.vue index 97c8359..8651eed 100644 --- a/src/components/FusionSettings/DensityCorrection.vue +++ b/src/components/FusionSettings/DensityCorrection.vue @@ -1,56 +1,71 @@ diff --git a/src/components/FusionSettings/FourPointCalibration.vue b/src/components/FusionSettings/FourPointCalibration.vue index 89be1b2..80f355e 100644 --- a/src/components/FusionSettings/FourPointCalibration.vue +++ b/src/components/FusionSettings/FourPointCalibration.vue @@ -8,7 +8,18 @@
-
+ +
+
+ + + +
+ +
+
{{$t('point')}}4
-
-
-
- - - -
+
+
+
@@ -41,8 +46,7 @@
- +
- - - - @@ -65,7 +63,6 @@ - \ No newline at end of file diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index b14ca94..85512fc 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -419,7 +419,9 @@ export default { "Right fusion Band Parameters":"Right Fusion Band Parameters", "Set the fusion band width":"Set the fusion band width", "Please enter a number":"Please enter a number", - "Please enter 0-100":"Please enter 0-100", + "Please enter 0-100":"Please enter 0-your differentiation rate", "Set Fusion Band Parameters":"Set Fusion Band Parameters", - "Projector":"Projector" + "Projector":"Projector", + "resetall":"reset all", + "save config":"save config" }; diff --git a/src/i18n/zh-CN/index.ts b/src/i18n/zh-CN/index.ts index 302c886..b545f1c 100644 --- a/src/i18n/zh-CN/index.ts +++ b/src/i18n/zh-CN/index.ts @@ -687,7 +687,9 @@ export default { "Right fusion Band Parameters":"右融合带参数", "Set the fusion band width":"设置融合带宽度", "Please enter a number":"请输入数字", - "Please enter 0-100":"请输入 0-100", + "Please enter 0-100":"请输入 0-你的分辨率", "Set Fusion Band Parameters":"设置融合带参数", - "Projector":"投影机" + "Projector":"投影机", + "resetall":"重置所有", + "save config":"保存配置" }; diff --git a/src/third_lib/calculateposition/index.js b/src/third_lib/calculateposition/index.js deleted file mode 100644 index d8178de..0000000 --- a/src/third_lib/calculateposition/index.js +++ /dev/null @@ -1,24 +0,0 @@ -function getElementLeft(element) { - var actualLeft = element.offsetLeft; - var current = element.offsetParent; - - while (current !== null) { - actualLeft += current.offsetLeft; - current = current.offsetParent; - } - - return actualLeft; -} - -function getElementTop(element) { - var actualTop = element.offsetTop; - var current = element.offsetParent; - - while (current !== null) { - actualTop += current.offsetTop; - current = current.offsetParent; - } - - return actualTop; -} -export {getElementLeft,getElementTop}