diff --git a/client/dive-common/components/EditorMenu.vue b/client/dive-common/components/EditorMenu.vue index c5a2e22..caa6fe0 100644 --- a/client/dive-common/components/EditorMenu.vue +++ b/client/dive-common/components/EditorMenu.vue @@ -316,6 +316,7 @@ export default defineComponent({ const maskLoadingPercent = computed(() => editorOptions.maskLoadingPercent?.value || 0); const tooManyMasks = computed(() => editorOptions.tooManyMasks.value); const loadingFrame = computed(() => editorOptions.loadingFrame.value); + const maskWarningMessage = computed(() => editorOptions.maskWarningMessage.value); const pauseOnLoading = computed({ get() { return editorOptions.pauseOnLoading.value; @@ -335,6 +336,15 @@ export default defineComponent({ offsetX: 25, }; } + if (maskWarningMessage.value) { + return { + icon: 'mdi-alert-circle-outline', + color: 'warning', + value: true, + content: undefined, + offsetX: 25, + }; + } if (loadingFrame.value) { return { icon: 'mdi-spin mdi-sync', @@ -382,6 +392,7 @@ export default defineComponent({ maskIcon, updateMaskCacheSeconds, loadingFrame, + maskWarningMessage, buttonOptions, menuOptions, editWhiteColorScale, @@ -475,7 +486,7 @@ export default defineComponent({ v-if="button.tooltip && (getUISetting('UIVisibility') === true || getUISetting('UIVisibility')[index])" > -