@@ -405,7 +405,6 @@ private void ClearHighlights()
405
405
foreach ( var kvp in _highlightedPorts )
406
406
{
407
407
kvp . Key . portColor = Color . white ;
408
- kvp . Key . contentContainer . Q < Label > ( ) . style . color = Color . white ;
409
408
}
410
409
_highlightedPorts . Clear ( ) ;
411
410
}
@@ -433,8 +432,6 @@ private void HighlightEventInGraph(EventData eventData, double duration = 1.0)
433
432
{
434
433
HighlightEdge ( edge , duration ) ;
435
434
436
- HighlightPort ( edge . input as UnityEventPort , duration ) ;
437
-
438
435
var targetNode = edge . input . node as UnityEventNode ;
439
436
if ( targetNode != null )
440
437
{
@@ -496,7 +493,6 @@ private void OnEditorUpdate()
496
493
foreach ( var port in portsToReset )
497
494
{
498
495
port . portColor = Color . white ;
499
- port . contentContainer . Q < Label > ( ) . style . color = Color . white ;
500
496
_highlightedPorts . Remove ( port ) ;
501
497
}
502
498
}
@@ -527,8 +523,6 @@ private void HighlightEdge(Edge edge, double duration = 1.0)
527
523
private void HighlightPort ( UnityEventPort port , double duration = 1.0 )
528
524
{
529
525
port . portColor = Color . yellow ;
530
- port . contentContainer . Q < Label > ( ) . style . color = Color . yellow ;
531
-
532
526
double resetTime = EditorApplication . timeSinceStartup + duration ;
533
527
534
528
if ( ! _highlightedPorts . ContainsKey ( port ) || _highlightedPorts [ port ] < resetTime )
0 commit comments