Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

283 B
Raw Blame
import type { Screenshot } from '@mimik/core/guides/types';

export function withFullViewport(screenshot: Screenshot): Screenshot {
  return {
    ...screenshot,
    edits: { ...screenshot.edits, viewport: { x: 0, y: 0, width: screenshot.width, height: screenshot.height } },
  };
}