- 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.
24 lines
651 B
C#
24 lines
651 B
C#
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Input;
|
|
using ytLive.Models;
|
|
using ytLive.ViewModels;
|
|
|
|
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)
|
|
{
|
|
if (sender is Border { DataContext: Scene scene } && DataContext is MainViewModel vm)
|
|
vm.TransitionToScene(scene);
|
|
}
|
|
} |