π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
import type { EditorMode, EditorTool } from '../types';
export function cursorFor(mode: EditorMode, tool: EditorTool, hovering: boolean, grabbing: boolean): string {
if (grabbing) return 'grabbing';
if (mode !== 'annotate') return 'crosshair';
if (hovering) return 'grab';
if (tool === 'select') return 'default';
if (tool === 'text') return 'text';
return 'crosshair';
}