| 327 | } |
| 328 | |
| 329 | private struct EffectUIBackdropView: NSViewRepresentable { |
| 330 | let backdrop: EffectUIWindow.Backdrop |
| 331 | |
| 332 | func makeNSView(context: Context) -> NSView { |
| 333 | EffectUIWindow.makeBackdropView(for: backdrop) ?? NSView() |
| 334 | } |
| 335 | |
| 336 | func updateNSView(_ nsView: NSView, context: Context) {} |
| 337 | } |
| 338 | |
| 339 | private struct EffectUIWindowConfigurator: NSViewRepresentable { |
| 340 | let settings: WindowSettings |