Skip to content

Open source CapCut alternative.

TypeScript

Update

David Led643969044eb
diff --git a/apps/Donkey/Sources/DonkeyContracts/PointerPromptLayout.swift b/apps/Donkey/Sources/DonkeyContracts/PointerPromptLayout.swift
index ba71784d..94e780fe 100644
--- a/apps/Donkey/Sources/DonkeyContracts/PointerPromptLayout.swift
+++ b/apps/Donkey/Sources/DonkeyContracts/PointerPromptLayout.swift
@@ -8,7 +8,7 @@ public enum PointerPromptLayout {
public static let pointerVisualSize = CGSize(width: 24, height: 24)
public static let pointerTipUnitPoint = CGPoint(x: 0.16914, y: 0.05641)
public static let pointerStrokeWidth: CGFloat = 1.6
- public static let pointerDistanceFromCursor: CGFloat = 32
+ public static let pointerDistanceFromCursor: CGFloat = 48
public static let pointerDiagonalComponent = pointerDistanceFromCursor / CGFloat(2).squareRoot()
public static let pointerComposerSpacing: CGFloat = 16
public static let composerSize = CGSize(width: 350, height: 142)
diff --git a/docs/guides/pointer-prompt-overlay.md b/docs/guides/pointer-prompt-overlay.md
index 807758e0..dfc689ec 100644
--- a/docs/guides/pointer-prompt-overlay.md
+++ b/docs/guides/pointer-prompt-overlay.md
@@ -31,7 +31,7 @@ This is a visual UI capability. It does not capture the screen, send input, call
- Composer controls should emit typed `PointerPromptIntent` values instead of reaching into runtime, AI, or controller code.
- Pointer colors load from JSON into `PointerPromptTheme`; views must not hard-code product colors.
- The active composer should use a normal system-window corner radius, expose a top-left close control, and keep controls/content areas interactive while only border regions drag the window. Transparent active overlay space must pass clicks through to windows underneath.
-- The agent pointer should remain close to native cursor size, use the mirrored SVG cursor silhouette from the Noun Project pointer asset, point in the same up-left direction as the native macOS cursor, and keep its tip 32px from the real pointer on an equal x/y diagonal.
+- The agent pointer should remain close to native cursor size, use the mirrored SVG cursor silhouette from the Noun Project pointer asset, point in the same up-left direction as the native macOS cursor, and keep its tip 48px from the real pointer on an equal x/y diagonal.
- Placement is one of `bottomRight`, `bottomLeft`, `topLeft`, or `topRight`.
- The controller must clamp visible pointer/composer bounds to `NSScreen.visibleFrame` before applying the panel frame, because inactive mode uses a larger transparent panel than its visible pointer.
- Diagonal placement changes should route through a side placement first, so bottom-right overflow can animate to left and then top-left.