diff --git a/src/components/FusionSettings/GridSettings.vue b/src/components/FusionSettings/GridSettings.vue index a6fed78..f594b57 100644 --- a/src/components/FusionSettings/GridSettings.vue +++ b/src/components/FusionSettings/GridSettings.vue @@ -24,11 +24,29 @@
-
-
{{ $t('line color') }}
-
-
+ + + {{ $t("line color") }} + + + + + + +
@@ -36,19 +54,34 @@
-
-
{{ $t('background color') }}
-
-
+ + + {{ $t("background color") }} + + + + + + +
-
@@ -76,14 +109,11 @@ export default defineComponent({ let $store = useStore(); let $t = useI18n(); const RowsColumns = reactive([false, false, false, false]); - const hex = ref("") - const isshowhex = ref(false); const index = ref(0); const color = reactive(["#ffffff", "#CCCCCC", "#000", "#000"]); let model = reactive([20, 40]); let options = ref([10, 20, 30, 40, 50]); const submit = () => { - isshowhex.value = false switch (index.value) { case 0: set?.SetBlendingOption("blending_grids_line_color", color[index.value]); @@ -169,10 +199,8 @@ export default defineComponent({ return { model, options, - hex, submit, RowsColumns, - isshowhex, index, color, update_row_col,