Skip to content

fix(desktop): #54 之后打磨 macOS 毛玻璃壳层与窗口缩放同步 #62

Open

Description

@Shuang-su

摘要

#52 / #54(Overlay 标题栏)合入后的跟进打磨,使 macOS 壳层更接近 Codex 手感。

范围

  • Sidebar vibrancy + 半透明外壳;不透明白主面板,8px 圆角/边距(含收起态左边距)
  • 顶栏拖移可靠;双击 work-area 用分步 setFrame,WKWebView 跟手(去掉有害的全局 zoom: swizzle)
  • 拖窗口改大小:减轻主面板滞后(preservesContentDuringLiveResize、Resized 时对齐 webview);自动收起推迟到松手后
  • 手动 toggle 与跨约 952×640 阈值自动收起/展开均有侧栏列宽过渡动画

验收

  • 展开/收起壳层符合 vibrancy + 8px 边距(见跟进 PR 截图)
  • 拖窗口边缘时主面板跟手,边距不跳
  • 双击顶栏放大/还原有同步动画
  • ⌘B / toggle 与阈值自动收起/展开均有约 0.2s 列宽过渡
  • Windows / 非 macOS 壳层行为不变

非目标

  • Playwright darwin 视觉基线快照
  • 无关的桌面端 / Python 重构

Activity

  1. changed the title [-]fix(desktop): polish macOS vibrancy chrome after #54[/-] [+]fix(desktop): #54 之后打磨 macOS 毛玻璃壳层与窗口缩放同步[/+] on Aug 7, 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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions