Skip to content

Commit f4b5edd

Browse files
committed
fix: UI bug that caused enabled/disabled Accounts probes to have the wrong color and name
1 parent fa8601f commit f4b5edd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Assets/Scripts/TrajectoryPlanner/Probes/ProbeManager.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public string OverrideName
5252
_overrideName = value;
5353
UpdateName();
5454
UIUpdateEvent.Invoke();
55+
if (ActiveProbeManager == this)
56+
ActiveProbeUIUpdateEvent.Invoke();
5557
}
5658
}
5759

@@ -175,6 +177,8 @@ public Color Color
175177
puiManager.UpdateColors();
176178

177179
UIUpdateEvent.Invoke();
180+
if (ActiveProbeManager == this)
181+
ActiveProbeUIUpdateEvent.Invoke();
178182
}
179183
}
180184

0 commit comments

Comments
 (0)