fix: countdown timer panel showing under webcam properties

Same root cause as IsChatBox — SourceType binding fails on WebcamSceneConfig,
WPF defaults Visibility to Visible without calling the converter.
Added virtual bool IsCountdown on SceneElement, override in Source.
Swapped binding to BoolToVis. Removed dead SourceTypeToVisibility converters.
This commit is contained in:
2026-08-20 18:13:31 -07:00
parent 7e01c4564e
commit 2f135687cd
3 changed files with 8 additions and 6 deletions
+3
View File
@@ -59,6 +59,9 @@ public abstract class SceneElement : INotifyPropertyChanged
/// <summary>True only for ChatBox-type sources. Gates chat overlay properties panel.</summary>
public virtual bool IsChatBox => false;
/// <summary>True only for Countdown-type sources. Gates timer properties panel.</summary>
public virtual bool IsCountdown => false;
private bool _isVisible = true;
public bool IsVisible { get => _isVisible; set => Set(ref _isVisible, value); }