ON-AIR sign right of REC: gray offline, red public, green private

This commit is contained in:
2026-08-24 10:22:18 -07:00
parent b0bace7432
commit 7357836f9b
5 changed files with 76 additions and 11 deletions
+3
View File
@@ -468,6 +468,7 @@ public class MainViewModel : ViewModelBase
OnPropertyChanged(nameof(RecDotBrush));
OnPropertyChanged(nameof(RecTextBrush));
OnPropertyChanged(nameof(RecDotOpacity));
OnPropertyChanged(nameof(OnAirBrush));
OnPropertyChanged(nameof(IsLivePrivate));
OnPropertyChanged(nameof(ShowStartStream));
OnPropertyChanged(nameof(ShowChatInactiveMessage));
@@ -930,6 +931,7 @@ public class MainViewModel : ViewModelBase
public string RecDotBrush => !IsLive ? "#555555" : IsLivePrivate ? "#8f1f1f" : "#e94560";
public string RecTextBrush => IsLive ? "#ffffff" : "#888888";
public double RecDotOpacity => IsLive ? _recDotPulse : 0.55;
public string OnAirBrush => !IsLive ? "#555555" : IsLivePrivate ? "#22c55e" : "#e94560";
public bool ShowStartStream => IsOffline && IsConnected;
public bool ShowChatInactiveMessage => !IsLive;
public bool ShowEmptySceneHint => StagedScene != null && StagedScene.Elements.Count == 0;
@@ -1159,6 +1161,7 @@ public class MainViewModel : ViewModelBase
{
OnPropertyChanged(nameof(RecDotBrush));
OnPropertyChanged(nameof(RecTextBrush));
OnPropertyChanged(nameof(OnAirBrush));
OnPropertyChanged(nameof(IsLivePrivate));
}
}