Skip to content

Windows 端胶囊视觉过大,需要按平台缩小尺寸 #417

@appergb

Description

@appergb

现象

Windows 端运行时,悬浮胶囊(Capsule)整体看着比 macOS 上明显偏大,与 macOS 上的视觉密度不一致。

复现

  1. Windows 10 / 11
  2. 触发任意一次录音 → 胶囊出现
  3. 与 macOS 同样状态对比 → Win 上观感更"占地方"

相关代码

  • openless-all/app/src/components/Capsule.tsx
    • L248:const scale = os === 'win' ? 1 : 1 + ambient * 0.018; —— Windows 路径硬编 scale = 1,没有跟随 ambient 微缩
    • L33-34(音量条)、L110-111(小圆点)、metrics 整体尺寸常量
    • L248-368 是 Windows 专属布局分支(与 mac 走不同代码路径)

期望

按 Windows 平台单独下调胶囊整体尺寸 / scale,让视觉密度与 macOS 接近,不要影响 macOS 现有效果。具体目标值由设计稿(openless-all/design_handoff_openless/)或对比 macOS 实测后决定。

平台

Windows 10 / 11 only(macOS 视觉 OK,不要动)。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindowsWindows-specific issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions