Skip to content

Commit

Permalink
Fixed color issues with default pallet and region map floor indicators.
Browse files Browse the repository at this point in the history
  • Loading branch information
ben_singer committed Nov 29, 2024
1 parent 77b2827 commit 98193a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NetAF/Rendering/Console/AnsiPallet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static class NetAFPalette
/// <summary>
/// Get the default NetAF yellow.
/// </summary>
public static AnsiColor NetAFYellow { get; } = new(255, 255, 128);
public static AnsiColor NetAFYellow { get; } = new(220, 220, 85);

#endregion
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public void BuildRegionMap(Region region, Point2D startPosition, Point3D focusPo
var isFocusFloor = floor == focusFloor;

if (floor == playerFloor)
gridStringBuilder.DrawWrapped($"{CurrentFloorIndicator} L{floor}", x, ++y, maxAvailableWidth, isFocusFloor ? FocusedBoundaryColor : VisitedBoundaryColor, out _, out _);
gridStringBuilder.DrawWrapped($"{CurrentFloorIndicator} L{floor}", x, ++y, maxAvailableWidth, VisitedBoundaryColor, out _, out _);
else
gridStringBuilder.DrawWrapped($"L{floor}", x + 2, ++y, maxAvailableWidth, isFocusFloor ? FocusedBoundaryColor : LowerLevelColor, out _, out _);
}
Expand Down

0 comments on commit 98193a9

Please sign in to comment.