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