mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-20 05:12:54 +08:00
fix: #158
This commit is contained in:
parent
e32147e1bf
commit
8fa8130d9d
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user