Qing 2024-02-04 21:42:11 +08:00
parent 7321232b78
commit f0b20f461b

View File

@ -396,13 +396,13 @@ export default function Editor(props: EditorProps) {
} }
const onPointerUp = (ev: SyntheticEvent) => { const onPointerUp = (ev: SyntheticEvent) => {
if (!hadDrawSomething()) {
return
}
if (isMidClick(ev)) { if (isMidClick(ev)) {
setIsPanning(false) setIsPanning(false)
return return
} }
if (!hadDrawSomething()) {
return
}
if (interactiveSegState.isInteractiveSeg) { if (interactiveSegState.isInteractiveSeg) {
return return
} }