diff --git a/src/components/FusionSettingsDialog.vue b/src/components/FusionSettingsDialog.vue
index e7f20f7..81323ca 100644
--- a/src/components/FusionSettingsDialog.vue
+++ b/src/components/FusionSettingsDialog.vue
@@ -96,6 +96,8 @@
+ {{$t('Whether to hide the desktop')}}
+
{
show_dialog.value = true;
};
-
+ const send_hide_desktop=()=>{
+ set?.SetBlendingOption(0,hide_desktop_value.value?1:0)
+ }
const config = ref({ col: 0, row: 0 });
const EnableBlending = ref(false);
let optionsstr = ref();
optionsstr.value = "FusionLocale";
+ const hide_desktop_value=ref(true)
+ const hide_desktop_id=ref(0)
const options = computed({
get() {
return optionsstr.value;
@@ -224,6 +230,8 @@ export default defineComponent({
let tmp = JSON.parse(res ? res.config : "");
$store.commit("setEnablefusion", tmp.enable);
$store.commit("setfusion_configuration", res?.config);
+ hide_desktop_id.value=tmp.options[0]
+ hide_desktop_value.value=tmp.options[1]==0?false:true
});
} catch (error) {}
};
@@ -255,6 +263,8 @@ export default defineComponent({
}, 1000);
});
return {
+ send_hide_desktop,
+ hide_desktop_value,
clear,
show_dialog,
options,
diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts
index 422363a..01fc330 100644
--- a/src/i18n/en-US/index.ts
+++ b/src/i18n/en-US/index.ts
@@ -423,5 +423,6 @@ export default {
"Projector":"Projector",
"resetall":"reset all",
"save config":"save config",
- "Whether to enable integration":"Whether to enable integration"
+ "Whether to enable integration":"Whether to enable integration",
+ "Whether to hide the desktop":"Whether to hide the desktop"
};
diff --git a/src/i18n/zh-CN/index.ts b/src/i18n/zh-CN/index.ts
index 8baec0c..40142e7 100644
--- a/src/i18n/zh-CN/index.ts
+++ b/src/i18n/zh-CN/index.ts
@@ -692,5 +692,6 @@ export default {
"Projector":"投影机",
"resetall":"重置所有",
"save config":"保存配置",
- "Whether to enable integration":"是否启用融合"
+ "Whether to enable integration":"是否启用融合",
+ "Whether to hide the desktop":"是否隐藏桌面"
};