DroppyKitSurfaceBridge

Where DroppyPanelSurface gets the host's own surface.

enum DroppyKitSurfaceBridge

Same shape and same reasoning as DroppyKitThemeBridge: the first installation wins, so a droplet loaded after launch cannot replace it.

Type properties

panelSurfaceProvider

@MainActor static var panelSurfaceProvider: ((CGFloat) -> AnyView)? { get }

The host's launcher surface for a corner radius. nil outside Droppy.

Type methods

installPanelSurfaceProvider(_:)

@discardableResult @MainActor static func installPanelSurfaceProvider(_ provider: @escaping (CGFloat) -> AnyView) -> Bool

Installs the host's surface. Host processes only, once, at launch, before any droplet is loaded.

  • Returns: true when this call installed it, false when one was already installed and nothing changed.