From b74d41c2685d1a6c6864282fefd257ff732e1656 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Mon, 3 Apr 2023 23:18:28 +0800 Subject: [PATCH] fix color --- src/Debug/Attributes/DebugColorAttribute.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Debug/Attributes/DebugColorAttribute.cs b/src/Debug/Attributes/DebugColorAttribute.cs index c45f8b3..ea70081 100644 --- a/src/Debug/Attributes/DebugColorAttribute.cs +++ b/src/Debug/Attributes/DebugColorAttribute.cs @@ -27,7 +27,7 @@ namespace DCFApixels.DragonECS [StructLayout(LayoutKind.Explicit, Pack = 1, Size = 4)] - private readonly struct ColorRecord + private readonly struct ColorRecord // Union { [FieldOffset(0)] public readonly int full; @@ -65,7 +65,7 @@ namespace DCFApixels.DragonECS /// Cyan. RGB is (0, 255, 255) Cyan = (000 << 24) + (255 << 16) + (255 << 8), /// Magenta. RGB is (255, 0, 255) - Magenta = (255 << 24) + (000 << 16) + (000 << 8), + Magenta = (255 << 24) + (000 << 16) + (255 << 8), /// Yellow. RGB is (255, 127, 0) Orange = (255 << 24) + (127 << 16) + (000 << 8),