This commit is contained in:
AykutSarac 2022-10-30 13:32:20 +03:00
parent e32147e1bf
commit 8fa8130d9d

View File

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