This commit is contained in:
parent
7321232b78
commit
f0b20f461b
@ -396,13 +396,13 @@ export default function Editor(props: EditorProps) {
|
||||
}
|
||||
|
||||
const onPointerUp = (ev: SyntheticEvent) => {
|
||||
if (!hadDrawSomething()) {
|
||||
return
|
||||
}
|
||||
if (isMidClick(ev)) {
|
||||
setIsPanning(false)
|
||||
return
|
||||
}
|
||||
if (!hadDrawSomething()) {
|
||||
return
|
||||
}
|
||||
if (interactiveSegState.isInteractiveSeg) {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user