diff --git a/MainWindow.xaml b/MainWindow.xaml index 97ae0d7..98e2f7b 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -39,11 +39,8 @@ xmlns:Helpers="clr-namespace:ytLive.Helpers"/> - - + + @@ -454,7 +451,7 @@ - + True only for ChatBox-type sources. Gates chat overlay properties panel. public virtual bool IsChatBox => false; + /// True only for Countdown-type sources. Gates timer properties panel. + public virtual bool IsCountdown => false; + private bool _isVisible = true; public bool IsVisible { get => _isVisible; set => Set(ref _isVisible, value); } diff --git a/Models/Source.cs b/Models/Source.cs index 34feea0..769a968 100644 --- a/Models/Source.cs +++ b/Models/Source.cs @@ -184,6 +184,8 @@ public class Source : SceneElement public override bool IsChatBox => Type == SourceType.ChatBox; + public override bool IsCountdown => Type == SourceType.Countdown; + private bool _chatPreviewEnabled = true; public bool ChatPreviewEnabled {