Fix dock radar colours (#38942)

* Fix docking colours

* Add comments and fallback

* Better comments!
This commit is contained in:
UpAndLeaves
2025-08-12 21:09:00 +01:00
committed by GitHub
parent c76d21e973
commit 9b6cb79fa2
4 changed files with 19 additions and 5 deletions

View File

@@ -308,7 +308,7 @@ public sealed partial class ShuttleNavControl : BaseShuttleControl
-dockRadius * UIScale,
(Size.X + dockRadius) * UIScale,
(Size.Y + dockRadius) * UIScale);
if (_docks.TryGetValue(nent, out var docks))
{
foreach (var state in docks)
@@ -321,7 +321,7 @@ public sealed partial class ShuttleNavControl : BaseShuttleControl
continue;
}
var color = Color.ToSrgb(Color.Magenta);
var color = Color.ToSrgb(state.HighlightedColor);
var verts = new[]
{