From a28c757521c8bba5b00f5a81594ac4121e40a796 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Sat, 10 Oct 2026 18:38:37 -0400 Subject: [PATCH] fix(desktop): give the tutorial illustration a fixed size so Lottie stops a constraints loop --- .../Sources/StimDesktop/Design/TutorialIllustration.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/Sources/StimDesktop/Design/TutorialIllustration.swift b/apps/desktop/Sources/StimDesktop/Design/TutorialIllustration.swift index c25616cd90..7788a012b6 100644 --- a/apps/desktop/Sources/StimDesktop/Design/TutorialIllustration.swift +++ b/apps/desktop/Sources/StimDesktop/Design/TutorialIllustration.swift @@ -36,7 +36,7 @@ struct TutorialIllustration: View { } } } - .aspectRatio(Self.size, contentMode: .fit) + .frame(width: Self.size.width, height: Self.size.height) .accessibilityHidden(true) .onChange(of: step, initial: true) { _, next in show(next) } }