Skip to content

main.ts 的 capture 降采样加 fake nativeImage 单测 #161

Closed

Description

@bubbleptr

ADR-0029「结果」段;PR #154 coder 报告。

capture(maxWidth) 的 nativeImage.resize 分支只在 HiDPI 真机上跑,CI 的 1x 显示器永远走不到。给 createBrowserView 的 capture 抽一个可注入 nativeImage 的 seam 并补单测(2x 输入缩到 CSS 宽度、1x 输入不缩)。

Activity

  1. added
    needs-triage
    on Sep 2, 2026
  2. added
    ready-for-agent
    and removed
    needs-triage
    on Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions