diff --git a/src/renderer/src/components/feature-wall/ComputerUseAnimatedVisual.tsx b/src/renderer/src/components/feature-wall/ComputerUseAnimatedVisual.tsx index 52fd7109e8e..33bf2553bfb 100644 --- a/src/renderer/src/components/feature-wall/ComputerUseAnimatedVisual.tsx +++ b/src/renderer/src/components/feature-wall/ComputerUseAnimatedVisual.tsx @@ -1,4 +1,4 @@ -import { useEffect, useLayoutEffect, useRef, useState, type JSX } from 'react' +import { useEffect, useLayoutEffect, useRef, useState, type JSX, type ReactNode } from 'react' import { GitBranch } from 'lucide-react' import { cn } from '@/lib/utils' import { ClaudeIcon } from '../status-bar/icons' @@ -8,7 +8,7 @@ import { CursorIcon } from './feature-tour-preview-glyphs' type ComputerUsePhase = 'inspect' | 'target' | 'click' | 'verified' const PHASES: readonly ComputerUsePhase[] = ['inspect', 'target', 'click', 'verified', 'verified'] -const PHASE_MS = 1100 +const PHASE_MS = 1350 // Why: the visual must read as "an agent in an Orca worktree drives the // local app via the `orca computer` CLI" — each command on the left causes @@ -47,13 +47,13 @@ export function ComputerUseAnimatedVisual(props: { const containerRect = container.getBoundingClientRect() const buttonRect = button.getBoundingClientRect() - const buttonX = buttonRect.left - containerRect.left + buttonRect.width / 2 + const buttonX = buttonRect.left - containerRect.left + buttonRect.width * 0.78 const buttonY = buttonRect.top - containerRect.top + buttonRect.height / 2 const startX = containerRect.width * 0.35 const startY = containerRect.height * 0.35 - if (phase === 'inspect') { + if (phase === 'inspect' || phase === 'verified') { setCursorCoords({ x: startX, y: startY, visible: false }) } else { setCursorCoords({ x: buttonX, y: buttonY, visible: true }) @@ -88,13 +88,13 @@ export function ComputerUseAnimatedVisual(props: {