diff --git a/client/src/components/SpectrogramViewer.vue b/client/src/components/SpectrogramViewer.vue index cfab3b4..5be5c98 100644 --- a/client/src/components/SpectrogramViewer.vue +++ b/client/src/components/SpectrogramViewer.vue @@ -40,7 +40,7 @@ export default defineComponent({ "hoverData", ], setup(props, { emit }) { - const { annotations, temporalAnnotations, selectedId, selectedType, creationType } = useState(); + const { annotations, temporalAnnotations, selectedId, selectedType, creationType, blackBackground } = useState(); const containerRef: Ref = ref(); const geoJS = useGeoJS(); const initialized = ref(false); @@ -193,13 +193,17 @@ export default defineComponent({ createAnnotation, cursorHandler, imageCursorRef, + blackBackground, }; }, });