diff --git a/frontend/src/components/annotationWorkspace/AnnotationCanvas.vue b/frontend/src/components/annotationWorkspace/AnnotationCanvas.vue index 244f6293..6d5a1c07 100644 --- a/frontend/src/components/annotationWorkspace/AnnotationCanvas.vue +++ b/frontend/src/components/annotationWorkspace/AnnotationCanvas.vue @@ -36,11 +36,11 @@ import { mouseToImageCoordinates, calculateZoomFromWheel, calculateZoomViewOffset, - calculateCanvasCursorStyle, renderAnnotation, type AnnotationRenderContext, getAnnotationDisplayColor, - separateAnnotationsBySelection + separateAnnotationsBySelection, + cursorManager } from "@/core/workspace"; import {StoreError, ToolError} from "@/core/errors/errors"; import AlertModal from "../common/modal/AlertModal.vue"; @@ -87,7 +87,7 @@ const annotationsToRender = computed(() => workspaceStore.getAnnotations); const isAnnotationEditingDisabled = computed(() => workspaceStore.isAnnotationEditingDisabled); const canvasCursorStyle = computed(() => { - return calculateCanvasCursorStyle( + return cursorManager.calculateCanvasCursorStyle( activeTool.value, isDraggingHandle.value, isPanning.value, diff --git a/frontend/src/components/project/settings/MembersSection.vue b/frontend/src/components/project/settings/MembersSection.vue index cfbf1212..3b769751 100644 --- a/frontend/src/components/project/settings/MembersSection.vue +++ b/frontend/src/components/project/settings/MembersSection.vue @@ -165,7 +165,6 @@