diff --git a/apps/builder/src/features/graph/components/Graph.tsx b/apps/builder/src/features/graph/components/Graph.tsx index 4ce3835509f..a24fa211530 100644 --- a/apps/builder/src/features/graph/components/Graph.tsx +++ b/apps/builder/src/features/graph/components/Graph.tsx @@ -174,7 +174,9 @@ export const Graph = ({ let newScale = graphPosition.scale + (delta ?? 0) if (scale) { const scaleDiff = scale - graphPosition.scale - newScale += Math.min(zoomButtonsScaleBlock, Math.abs(scaleDiff)) * Math.sign(scaleDiff) + newScale += + Math.min(zoomButtonsScaleBlock, Math.abs(scaleDiff)) * + Math.sign(scaleDiff) } if ( @@ -242,6 +244,9 @@ export const Graph = ({ data-testid="graph" style={{ transform, + perspective: 1000, + backfaceVisibility: 'hidden', + transformStyle: 'preserve-3d', }} willChange="transform" transformOrigin="0px 0px 0px"