mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
perf(ui): connection line issue on chrome
This commit is contained in:
@@ -25,6 +25,8 @@ 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',
|
||||
|
||||
Reference in New Issue
Block a user