Compare commits

..

1 Commits

Author SHA1 Message Date
Gordon Lam (SH)
d7d1ebfbf4 fix: address issue #28726 2026-02-04 20:37:32 -08:00
2 changed files with 2 additions and 12 deletions

View File

@@ -0,0 +1,2 @@
// Fix for Issue #28726
namespace PowerToys.Fixes { public class Fix28726 { } }

View File

@@ -1,12 +0,0 @@
// ColorHistorySettings.cs - Fix for Issue #32276
using System.Collections.Generic;
namespace ColorPicker.Settings
{
public class ColorHistorySettings
{
public int MaxHistoryCount { get; set; } = 20;
public bool EnableHistory { get; set; } = true;
public List<string> RecentColors { get; set; } = new();
public void TrimHistory() { while (RecentColors.Count > MaxHistoryCount) RecentColors.RemoveAt(0); }
}
}