diff --git a/web_app/src/components/Editor.tsx b/web_app/src/components/Editor.tsx index d8e2709..564faf6 100644 --- a/web_app/src/components/Editor.tsx +++ b/web_app/src/components/Editor.tsx @@ -337,6 +337,10 @@ export default function Editor(props: EditorProps) { } const onMouseDrag = (ev: SyntheticEvent) => { + if (isProcessing) { + return + } + if (interactiveSegState.isInteractiveSeg) { return } @@ -560,6 +564,9 @@ export default function Editor(props: EditorProps) { } const getCursor = useCallback(() => { + if (isProcessing) { + return "default" + } if (isPanning) { return "grab" } @@ -567,7 +574,7 @@ export default function Editor(props: EditorProps) { return "none" } return undefined - }, [showBrush, isPanning]) + }, [showBrush, isPanning, isProcessing]) useHotKey( "[",