From 17d835353d5b36a6b7dc18b2f576bc56cac62af9 Mon Sep 17 00:00:00 2001 From: gramps Date: Thu, 5 Nov 2026 10:51:44 -0800 Subject: [PATCH] =?UTF-8?q?fix(preview):=20repair=20the=20round-clip=20tri?= =?UTF-8?q?gger=20placement=20=E2=80=94=20it=20broke=20XAML=20load?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous commit inserted the round-media MultiDataTrigger INSIDE a instead of into the Style.Triggers collection, so every window that loads PreviewPane threw "System.Windows.MultiDataTrigger is not of type System.Windows.SetterBase" at parse time. A Debug build would have failed to open the main window at all. Caught by `AlertBoxPreviewVisibilityTests` and `AboutHubTests` in the suite, which is the reason those UI tests exist. Both green again, as is `MediaPreviewDisplayTests`. --- Controls/PreviewPane.xaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Controls/PreviewPane.xaml b/Controls/PreviewPane.xaml index fe64fe3..63011b2 100644 --- a/Controls/PreviewPane.xaml +++ b/Controls/PreviewPane.xaml @@ -208,15 +208,15 @@ - - - - - - - - + + + + + + + +