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:
@@ -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) }
|
||||
|
||||
Reference in New Issue
Block a user