Skip to content

Commit

Permalink
home(visionOS): use plain window style
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Feb 25, 2024
1 parent 7b94235 commit 1a966d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Platform/visionOS/UTMApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ struct UTMApp: App {
WindowGroup(for: VMSessionState.GlobalWindowID.self) { $globalID in
if let globalID = globalID, let session = VMSessionState.allActiveSessions[globalID.sessionID] {
VMWindowView(id: globalID.windowID).environmentObject(session)
.glassBackgroundEffect(in: .rect(cornerRadius: 15))
#if WITH_SOLO_VM
.onAppear {
// currently we only support one session, so close the home window
Expand All @@ -70,6 +71,7 @@ struct UTMApp: App {
#endif
}
}
.windowStyle(.plain)
.windowResizability(.contentMinSize)
}
}

0 comments on commit 1a966d2

Please sign in to comment.