Revert "perf(ui): connection line issue on chrome"

This reverts commit 9d482e5fe621c2dbbde18ed17301a12b0e7f2580.
This commit is contained in:
psychedelicious
2025-02-16 06:56:14 +10:00
parent cfb08f326e
commit 700ad78f87

View File

@@ -25,8 +25,6 @@ const baseEdgeSx: SystemStyleObject = {
opacity: '1 !important',
},
'&[data-should-animate-edges="true"]': {
// This fixes an performance issue with the animation of connection edges on chrome. Seems to be a deep chrome bug.
strokeDashoffset: 'unset !important',
animation: 'dashdraw 0.5s linear infinite !important',
'&[data-selected="true"], &[data-are-connected-nodes-selected="true"]': {
strokeDasharray: '5 !important',