From a8814b42d062b7897d5a9caf98401100c7b15e85 Mon Sep 17 00:00:00 2001 From: gramps Date: Mon, 26 Oct 2026 14:26:23 -0700 Subject: [PATCH] Top bar and scene strip: EDIT toggle beside REC (orange on, blue off); fixed-size centered mini screens; fixed 360px left column so the empty cell matches the layers panel - TopBar: EDIT ToggleButton, spaced from the REC/ON-AIR segments - MainViewModel: explicit EditingActive drives IsEditMode; YouTube go-live turns edit off, stop turns it on - SceneThumbnailStrip: tiles fixed 196x130 and centered; dark background fills the column so its edge does not move on resize; strip row fixed 154px - MainWindow: left column fixed at 360px; WIDTHS diagnostic log on resize Not pushed. --- Controls/SceneThumbnailStrip.xaml | 10 ++++------ Controls/SceneThumbnailStrip.xaml.cs | 3 --- Controls/TopBar.xaml | 15 +++++++++++++++ MainWindow.xaml | 4 ++-- MainWindow.xaml.cs | 2 ++ ViewModels/MainViewModel.Scenes.cs | 16 +++++++++++++++- ViewModels/MainViewModel.Streaming.Operations.cs | 2 ++ 7 files changed, 40 insertions(+), 12 deletions(-) diff --git a/Controls/SceneThumbnailStrip.xaml b/Controls/SceneThumbnailStrip.xaml index 6384ede..82d1f3d 100644 --- a/Controls/SceneThumbnailStrip.xaml +++ b/Controls/SceneThumbnailStrip.xaml @@ -1,17 +1,16 @@ - - - + + - + - @@ -83,5 +82,4 @@ - diff --git a/Controls/SceneThumbnailStrip.xaml.cs b/Controls/SceneThumbnailStrip.xaml.cs index 092fffa..45635c9 100644 --- a/Controls/SceneThumbnailStrip.xaml.cs +++ b/Controls/SceneThumbnailStrip.xaml.cs @@ -8,12 +8,9 @@ namespace ytLive.Controls; public partial class SceneThumbnailStrip : UserControl { - private const double DesignAspect = 154.0 / 1000.0; - public SceneThumbnailStrip() { InitializeComponent(); - SizeChanged += (_, _) => Height = ActualWidth * DesignAspect; Loaded += (_, _) => { if (DataContext is MainViewModel vm) diff --git a/Controls/TopBar.xaml b/Controls/TopBar.xaml index 583fcdc..733bf04 100644 --- a/Controls/TopBar.xaml +++ b/Controls/TopBar.xaml @@ -54,6 +54,21 @@ reality line + End so nothing mid-session can be re-armed. --> + + + + + + diff --git a/MainWindow.xaml b/MainWindow.xaml index c777b2a..2d5244c 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -74,12 +74,12 @@ - + - +