From 24aca7d04a16b561474e97df8a76f0f730d269a2 Mon Sep 17 00:00:00 2001 From: gramps Date: Mon, 26 Oct 2026 13:09:13 -0700 Subject: [PATCH] Scene strip: move top row over the preview column and scale it; remove CRT bezel art and on-air seed - PreviewPane.xaml: drop the OBS-style border Rectangle/Ellipse over webcam elements - SceneThumbnailStrip: Viewbox scales the row; height follows width so it fills the preview column; staged+live tile has no border - MainWindow.xaml: strip moved to column 1 only, leaving the layers cell empty; Margin 8,0 matches the preview - MainViewModel.Background: stop seeding the CRT scene tiles and the on-air image - ytLive.csproj: per-build counter (BuildCounter.txt, gitignored) replaces the commit-count stamp Build stamp now increments on every build. --- .gitignore | 1 + Controls/PreviewPane.xaml | 43 -------------------------- Controls/SceneThumbnailStrip.xaml | 11 ++++++- Controls/SceneThumbnailStrip.xaml.cs | 3 ++ MainWindow.xaml | 4 +-- ViewModels/MainViewModel.Background.cs | 36 ++------------------- ytLive.csproj | 10 ++++-- 7 files changed, 26 insertions(+), 82 deletions(-) diff --git a/.gitignore b/.gitignore index c79d95e..5434925 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ MARCOM.md CREDENTIALS.md .aider* ffmpeg/ +BuildCounter.txt diff --git a/Controls/PreviewPane.xaml b/Controls/PreviewPane.xaml index 03dc13d..4ff8560 100644 --- a/Controls/PreviewPane.xaml +++ b/Controls/PreviewPane.xaml @@ -180,49 +180,6 @@ - - - - - - - - - - - diff --git a/Controls/SceneThumbnailStrip.xaml b/Controls/SceneThumbnailStrip.xaml index 567d161..4984d09 100644 --- a/Controls/SceneThumbnailStrip.xaml +++ b/Controls/SceneThumbnailStrip.xaml @@ -1,7 +1,8 @@ - + + @@ -25,6 +26,13 @@ + + + + + + + @@ -51,4 +59,5 @@ + \ No newline at end of file diff --git a/Controls/SceneThumbnailStrip.xaml.cs b/Controls/SceneThumbnailStrip.xaml.cs index 75ce9a0..bf67dfc 100644 --- a/Controls/SceneThumbnailStrip.xaml.cs +++ b/Controls/SceneThumbnailStrip.xaml.cs @@ -8,9 +8,12 @@ namespace ytLive.Controls; public partial class SceneThumbnailStrip : UserControl { + private const double DesignAspect = 154.0 / 1000.0; + public SceneThumbnailStrip() { InitializeComponent(); + SizeChanged += (_, _) => Height = ActualWidth * DesignAspect; } private void Thumbnail_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) diff --git a/MainWindow.xaml b/MainWindow.xaml index a958a58..c777b2a 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -78,8 +78,8 @@ - - + + - 241 + 17 13 $(CommitCountRaw.Trim()) - $([MSBuild]::Add($(BuildNumberStart), $([MSBuild]::Subtract($(CommitCount), $(BuildNumberBaseline))))) + $(ProjectDir)BuildCounter.txt + $([System.IO.File]::ReadAllText('$(BuildCounterFile)').Trim()) + 423 + $([MSBuild]::Add($(PriorBuildCount), 1)) + + + $(BuildNumberStart)