Skip invisible hotkeys

This commit is contained in:
Jack251970 2025-06-26 12:25:21 +08:00
parent 96b5eb3df9
commit ddc890eb15

View file

@ -65,6 +65,9 @@ public partial class SettingsPaneHotkey
var sortedHotkeyInfo = hotkeyInfo.OrderBy(h => h.Id).ToList();
foreach (var hotkey in hotkeyInfo)
{
// Skip invisible hotkeys
if (!hotkey.Visible) continue;
var card = new Card()
{
Title = hotkey.Name,