|
@@ -31,7 +31,7 @@ const StyledEditorWrapper = styled.div<{ isWidget: boolean }>`
|
|
cursor: move;
|
|
cursor: move;
|
|
}
|
|
}
|
|
|
|
|
|
- .dragging {
|
|
|
|
|
|
+ .dragging, .dragging button {
|
|
pointer-events: none;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -107,7 +107,7 @@ const GraphComponent = ({
|
|
if (nodes.length > 8_000) return <ErrorView />;
|
|
if (nodes.length > 8_000) return <ErrorView />;
|
|
|
|
|
|
return (
|
|
return (
|
|
- <StyledEditorWrapper isWidget={isWidget}>
|
|
|
|
|
|
+ <StyledEditorWrapper isWidget={isWidget} onContextMenu={e => e.preventDefault()}>
|
|
{loading && <Loading message="Painting graph..." />}
|
|
{loading && <Loading message="Painting graph..." />}
|
|
<TransformWrapper
|
|
<TransformWrapper
|
|
maxScale={2}
|
|
maxScale={2}
|