From 1c9979af52d17b6d2a1e9ab77860c8fd498966b3 Mon Sep 17 00:00:00 2001 From: Joshua Parmenter Date: Sat, 4 Jul 2026 20:21:27 -0700 Subject: [PATCH] iOS Demo: pin host fill frame to topLeading Belt-and-suspenders: the host fill frame used the default center alignment, so if the builder ever reported intrinsic height the window would center it (the portrait symptom). Pin the host frame to .topLeading. Co-Authored-By: Claude Opus 4.8 --- Demo/ShoeGazeBuilderiOS/ShoeGazeBuilderiOSApp.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/ShoeGazeBuilderiOS/ShoeGazeBuilderiOSApp.swift b/Demo/ShoeGazeBuilderiOS/ShoeGazeBuilderiOSApp.swift index 3c5315f..ee1a1fe 100644 --- a/Demo/ShoeGazeBuilderiOS/ShoeGazeBuilderiOSApp.swift +++ b/Demo/ShoeGazeBuilderiOS/ShoeGazeBuilderiOSApp.swift @@ -31,7 +31,7 @@ struct ShoeGazeBuilderiOSApp: App { onEnableLiveInput: { model.enableLiveInput() }, midi: model.midi ) - .frame(maxWidth: .infinity, maxHeight: .infinity) + .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading) .task { await model.startLibrary() } .onDisappear { model.stop() } .onOpenURL { url in model.importDocument(at: url) }