This commit is contained in:
parent
7321232b78
commit
f0b20f461b
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user