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 <noreply@anthropic.com>
This commit is contained in:
2026-07-04 20:21:27 -07:00
parent 36202a5e95
commit 1c9979af52
@@ -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) }