From f314da54aa1a8439cf8311d0320f14e157fb97d4 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 11 Sep 2024 09:38:32 +0800 Subject: [PATCH] code_style: add comment for ColorPicker.COLOR_TABLE --- src/Views/ColorPicker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/ColorPicker.cs b/src/Views/ColorPicker.cs index 96c7a65d..66e4501a 100644 --- a/src/Views/ColorPicker.cs +++ b/src/Views/ColorPicker.cs @@ -18,10 +18,10 @@ namespace SourceGit.Views set => SetValue(ValueProperty, value); } + // Values are copied from Avalonia: src/Avalonia.Controls.ColorPicker/ColorPalettes/FluentColorPalette.cs private static readonly Color[,] COLOR_TABLE = new Color[,] { { - // Ordering reversed for this section only Color.FromArgb(255, 255, 67, 67), /* #FF4343 */ Color.FromArgb(255, 209, 52, 56), /* #D13438 */ Color.FromArgb(255, 239, 105, 80), /* #EF6950 */