From 6e446cb7ad4ff16a29cd5d516e446e2c943f269c Mon Sep 17 00:00:00 2001 From: gramps Date: Tue, 18 Aug 2026 07:42:29 -0700 Subject: [PATCH] Fix: URI text box no longer shows under webcam source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The web source section's visibility was bound to SelectedElement.Type via a converter, but WebcamSceneConfig has no Type property — the WPF binding path didn't resolve correctly and the section leaked through. Added IsWebSource virtual property to SceneElement (mirrors existing IsWebcam pattern), overridden in Source to return Type == SourceType.WebSource. Section visibility now binds directly to SelectedElement.IsWebSource via BoolToVis. 1c of 7-issue polish batch. 207 tests, 0 warnings. --- MainWindow.xaml | 2 +- Models/SceneElement.cs | 3 +++ Models/Source.cs | 3 +++ TASKS.md | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/MainWindow.xaml b/MainWindow.xaml index e9d2b20..a2695ec 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -449,7 +449,7 @@ - +