From 3081da883ba20be190fcbea796c3724f997f87fc Mon Sep 17 00:00:00 2001 From: Qing Date: Fri, 5 Jan 2024 15:08:16 +0800 Subject: [PATCH] fix --- web_app/src/components/Editor.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web_app/src/components/Editor.tsx b/web_app/src/components/Editor.tsx index a96d418..5fdb68c 100644 --- a/web_app/src/components/Editor.tsx +++ b/web_app/src/components/Editor.tsx @@ -401,11 +401,11 @@ export default function Editor(props: EditorProps) { } if (isMidClick(ev)) { setIsPanning(false) + return } if (interactiveSegState.isInteractiveSeg) { return } - if (isPanning) { return } @@ -938,9 +938,7 @@ export default function Editor(props: EditorProps) { { runInpainting()