From 98193a920dfbb92db82990ba2197913896b93204 Mon Sep 17 00:00:00 2001 From: ben_singer Date: Fri, 29 Nov 2024 13:02:23 +0000 Subject: [PATCH] Fixed color issues with default pallet and region map floor indicators. --- NetAF/Rendering/Console/AnsiPallet.cs | 2 +- .../Rendering/Console/FrameBuilders/ConsoleRegionMapBuilder.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NetAF/Rendering/Console/AnsiPallet.cs b/NetAF/Rendering/Console/AnsiPallet.cs index e55c6f72..9b6b0c6a 100644 --- a/NetAF/Rendering/Console/AnsiPallet.cs +++ b/NetAF/Rendering/Console/AnsiPallet.cs @@ -25,7 +25,7 @@ public static class NetAFPalette /// /// Get the default NetAF yellow. /// - public static AnsiColor NetAFYellow { get; } = new(255, 255, 128); + public static AnsiColor NetAFYellow { get; } = new(220, 220, 85); #endregion } diff --git a/NetAF/Rendering/Console/FrameBuilders/ConsoleRegionMapBuilder.cs b/NetAF/Rendering/Console/FrameBuilders/ConsoleRegionMapBuilder.cs index 82e4ea11..a1534038 100644 --- a/NetAF/Rendering/Console/FrameBuilders/ConsoleRegionMapBuilder.cs +++ b/NetAF/Rendering/Console/FrameBuilders/ConsoleRegionMapBuilder.cs @@ -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 _); }