Thumbnail strip: show hotkey label next to each scene name

This commit is contained in:
2026-08-26 08:28:48 -07:00
parent 3a1484b3c5
commit d4aa5e1003
4 changed files with 44 additions and 3 deletions
+12
View File
@@ -1,7 +1,9 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
using ytLive.Services;
namespace ytLive.Models;
@@ -21,6 +23,16 @@ public static class SceneCatalog
public static readonly string[] All = { Starting, Live, Brb, Chat, Ending };
/// <summary>Maps each canonical scene name to its hotkey action.</summary>
public static readonly IReadOnlyDictionary<string, HotkeyId> SceneHotkeys = new Dictionary<string, HotkeyId>(StringComparer.OrdinalIgnoreCase)
{
[Starting] = HotkeyId.SceneStarting,
[Live] = HotkeyId.SceneLive,
[Brb] = HotkeyId.SceneBrb,
[Chat] = HotkeyId.SceneChat,
[Ending] = HotkeyId.SceneEnding,
};
private static readonly Dictionary<string, string> DisplayNames = new(StringComparer.OrdinalIgnoreCase)
{
};