Thumbnail strip: show hotkey label next to each scene name
This commit is contained in:
@@ -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)
|
||||
{
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user