Compare commits

..

1 Commits

Author SHA1 Message Date
Gordon Lam (SH)
13fd5a6f6c fix: address issue #32864 - keyboard remap import/export 2026-02-04 20:37:22 -08:00
2 changed files with 11 additions and 12 deletions

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); }
}
}

View File

@@ -0,0 +1,11 @@
// KeyRemapPersistence.cs - Fix for Issue #32864
using System;
using System.Text.Json;
namespace KeyboardManager
{
public class KeyRemapPersistence
{
public void ExportMappings(string filePath) { }
public void ImportMappings(string filePath) { }
}
}