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:
truewhen this call installed it,falsewhen one was already installed and nothing changed.