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
+11
View File
@@ -15,6 +15,7 @@ public class Scene : INotifyPropertyChanged
private bool _hasSocialBar;
private bool _isStaged;
private bool _isLive;
private string _hotkeyLabel = string.Empty;
public bool IsStaged
{
@@ -83,6 +84,16 @@ public class Scene : INotifyPropertyChanged
set => Set(ref _snapshot, value);
}
/// <summary>
/// The current hotkey label for this scene (e.g. "F1", "Ctrl+F10").
/// Set by MainViewModel from the active bindings; empty for non-canonical scenes.
/// </summary>
public string HotkeyLabel
{
get => _hotkeyLabel;
set => Set(ref _hotkeyLabel, value);
}
public event PropertyChangedEventHandler? PropertyChanged;
private void Set<T>(ref T field, T value, [CallerMemberName] string? propertyName = null)