MCPcopy Create free account
hub / github.com/Effect-TS/effect / body

Method body

packages/ui/native/macos/EffectUIWindow.swift:315–326  ·  view source on GitHub ↗
(content: Content)

Source from the content-addressed store, hash-verified

313 let settings: WindowSettings
314
315 func body(content: Content) -> some View {
316 content
317 .ignoresSafeArea(edges: settings.toolbar == .unifiedInset ? .all : [])
318 .background {
319 if backdrop != .none {
320 EffectUIBackdropView(backdrop: backdrop)
321 .id(backdrop)
322 .ignoresSafeArea()
323 }
324 EffectUIWindowConfigurator(settings: settings)
325 }
326 }
327}
328
329private struct EffectUIBackdropView: NSViewRepresentable {

Callers 1

DetailsFunction · 0.45

Calls 3

EffectUIBackdropViewStruct · 0.85
idMethod · 0.65

Tested by

no test coverage detected